#254064#254064

#254064 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.8% C 0.071 H 256.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#254064
RGBrgb(37, 64, 100)
HSLhsl(214, 46%, 27%)
HSVhsv(214, 63%, 39%)
CMYKcmyk(63%, 36%, 0%, 60.8%)
CIE-LABlab(26.68, 2.08, -24.28)
CIE-LCHlch(26.68, 24.37, 274.90°)
OKLaboklab(36.83% -0.017 -0.0686)
OKLCHoklch(36.83% 0.071 256.1)
XYZxyz(4.8958, 4.9798, 12.7573)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254064 #644925
analogous
#256064 #254064 #2A2564
triadic
#254064 #642540 #406425
tetradic
#254064 #642560 #644925 #25642A
square
#254064 #642560 #644925 #25642A
split-complementary
#254064 #642A25 #606425
monochromatic
#080E16 #142337 #254064 #365D91 #4879BB

Accessibility & contrast

On white

10.52
#254064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#254064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254064
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254064#FFFFFF#000000##FFFFFF
##2540641.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314266
Deuteranopia (green-blind)
#293C63
Tritanopia (blue-blind)
#00484D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #254064;
/* rgb */ color: rgb(37, 64, 100);
/* oklch */ color: oklch(36.8% 0.071 256.1);
Tailwind
colors: {
  custom: {
    50: '#667490',
    500: '#254064',
    950: '#000000',
  },
}
SCSS
$custom: #254064;
$custom-light: #667490;
$custom-dark: #000000;
JSON
{
  "hex": "#254064",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 100
  },
  "hsl": {
    "h": 214.286,
    "s": 45.985,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36828,
    "c": 0.07073,
    "h": 256.1
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#254064
secondary
#97784E
accent
#9D52D6
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #254064

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#254064 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva