Skip to content

#064458

a deep, electric cyan · cool · closest name: Dark Slate Gray

RGB
6, 68, 88
HSL
195°, 87%, 18%
CMYK
93, 23, 0, 66
Luminance
0.0488

At a glance

Every number on this page in one read: what #064458 is made of, how bright it looks, and which way it leans.

Hex
#064458
Hue
195°
cyan
Saturation
87%
electric
Lightness
18%
deep
Brightness
35%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0488
WCAG relative
Temperature
Cool
94/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
10.63:1
Closest name
Dark Slate Gray
ΔE2000 10.2
Where it sits
Hue195° of 360°
Saturation87%
Lightness18%
Temperature
Warm ← → Cool94% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#064458
RGBrgb(6, 68, 88)
HSLhsl(195, 87%, 18%)
CMYKcmyk(93%, 23%, 0%, 66%)
LABlab(26.4 -10.2 -17.1)
LCHlch(26.4 19.9 239.2)
OKLCHoklch(0.361 0.066 226.4)
Decimal410712
Display P3color(display-p3 0.024 0.267 0.345)

Copy-ready code

/* CSS */
color: #064458;
background-color: #064458;
/* Tailwind (arbitrary) */
class="text-[#064458] bg-[#064458]"
/* SCSS */
$brand: #064458;
/* SwiftUI */
Color(red: 0.024, green: 0.267, blue: 0.345)
/* Android */
Color.parseColor("#064458")
/* Flutter */
Color(0xFF064458)
/* Python / OpenCV (BGR) */
(88, 68, 6)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #064458 · 10.63:1
Use #ffffffAAA at every size.
Aa
White text · 10.63:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.98:1
AA fail · AA large fail · AAA fail
Reading the other direction: #064458 as text scores 10.63:1 on white and 1.98:1 on black.

Accessibility — WCAG contrast

Aa
#064458 on white: 10.63:1
AA ✓ pass · AA-large · AAA
Aa
#064458 on black: 1.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #394359
deuteranopia · #2F3B58
tritanopia · #004A4B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #064458 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2FAFD
#E5F5FA
#C4EBF7
#96E0F8
#61D1F4
#2DC1F1
#10B1E5
#0D94BF
#0A7699
#0C566E
#064458
Base = 950Lightest = 50 · #F2FAFDDarkest = 950 · #064458
:root {
  --brand-50: #F2FAFD;
  --brand-100: #E5F5FA;
  --brand-200: #C4EBF7;
  --brand-300: #96E0F8;
  --brand-400: #61D1F4;
  --brand-500: #2DC1F1;
  --brand-600: #10B1E5;
  --brand-700: #0D94BF;
  --brand-800: #0A7699;
  --brand-900: #0C566E;
  --brand-950: #064458;
  --brand: #064458;
  --brand-ink: #ffffff;
}

Colors that work with #064458

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F9FA
Tinted page background
Border#C0E2ED
Hairlines and dividers
Muted text#4B879B
Captions on the surface
Accent#5A0405
Second voice, not a rival
Dark variant#085C77
Hover, pressed, headers
Light variant#E7F8FD
Selected rows, tints
Dark surface#142024
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #064458

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#581A06
Analogous left#065843
Analogous right#061B58
Split-complement 1#58061B
Split-complement 2#584306
Triadic 1#580644
Triadic 2#445806
Tetradic#430658

RGB percentages

Red2.4%
Green26.7%
Blue34.5%

CMYK percentages

Cyan93.2%
Magenta22.7%
Yellow0.0%
Key (black)65.5%

Color previews

#064458 text on a black background

contrast 1.98:1

Card sample

#064458 text on a white background

contrast 10.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #064458;
Background color
Panel with #064458 background
background-color: #064458;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #064458;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(6, 68, 88, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 68, 88, 0.45);
Border & gradient
Gradient panel
border: 3px solid #064458;
background: linear-gradient(135deg, #064458, #060D58);

Monochromatic scale

Palettes built from #064458

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#064458 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#064458, answered

What color is #064458?

#064458 is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 10.2). It sits at 195° on the hue wheel with 87% saturation and 18% lightness, which reads as cool.

What is the RGB value of #064458?

rgb(6, 68, 88) — 6 red, 68 green and 88 blue out of 255, or 2.4% / 26.7% / 34.5% by channel.

Is #064458 a light or a dark color?

It is a dark color. Relative luminance is 0.0488 and perceived brightness is 24%, so white text on it reaches 10.63:1.

Should I use black or white text on #064458?

White. It scores 10.63:1 against #064458, versus 1.98:1 for black — AAA at any size.

What is the complementary color of #064458?

#581A06 sits directly opposite on the wheel. Softer options are the split-complements #58061B and #584306, which give the same contrast with far less vibration.

What colors go well with #064458?

For interface work: #F4F9FA as the surface, #C0E2ED for borders, #4B879B for secondary text, #5A0405 as an accent and #085C77 for hover and pressed states. For a palette, the analogous pair #065843 and #061B58 stays calm, while #581A06 is the loudest partner.

What is #064458 in CMYK for printing?

cmyk(93%, 23%, 0%, 66%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #064458 warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #06584E; nudged cooler, #053459.

Work with #064458 in the Color Lab