#254366#254366

#254366 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.7% C 0.070 H 253.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#254366
RGBrgb(37, 67, 102)
HSLhsl(212, 47%, 27%)
HSVhsv(212, 64%, 40%)
CMYKcmyk(63.7%, 34.3%, 0%, 60%)
CIE-LABlab(27.75, 0.82, -23.87)
CIE-LCHlch(27.75, 23.89, 271.97°)
OKLaboklab(37.71% -0.0201 -0.0674)
OKLCHoklch(37.71% 0.07 253.4)
XYZxyz(5.1675, 5.3665, 13.3313)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254366 #664825
analogous
#256466 #254366 #282566
triadic
#254366 #662543 #436625
tetradic
#254366 #662564 #664825 #256628
square
#254366 #662564 #664825 #256628
split-complementary
#254366 #662825 #646625
monochromatic
#080F16 #152639 #254366 #356093 #497EBD

Accessibility & contrast

On white

10.13
#254366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#254366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254366
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254366#FFFFFF#000000##FFFFFF
##2543661.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344567
Deuteranopia (green-blind)
#2C3F65
Tritanopia (blue-blind)
#004B50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254366;
/* rgb */ color: rgb(37, 67, 102);
/* oklch */ color: oklch(37.7% 0.070 253.4);
Tailwind
colors: {
  custom: {
    50: '#667692',
    500: '#254366',
    950: '#000000',
  },
}
SCSS
$custom: #254366;
$custom-light: #667692;
$custom-dark: #000000;
JSON
{
  "hex": "#254366",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 212.308,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.07036,
    "h": 253.4
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#254366
secondary
#99764E
accent
#9951D6
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080D
muted
#7A7B7D

Preview Lab

Preview with #254366

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

Preview Lab → · Contrast checker → · Palette generator →

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