#254A6C#254A6C

#254A6C is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 39.8% C 0.072 H 248.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#254A6C
RGBrgb(37, 74, 108)
HSLhsl(209, 49%, 28%)
HSVhsv(209, 66%, 42%)
CMYKcmyk(65.7%, 31.5%, 0%, 57.6%)
CIE-LABlab(30.33, -1.55, -23.64)
CIE-LCHlch(30.33, 23.69, 266.25°)
OKLaboklab(39.84% -0.0266 -0.0667)
OKLCHoklch(39.84% 0.072 248.2)
XYZxyz(5.9175, 6.3730, 15.1027)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A6C #6C4725
analogous
#256C6A #254A6C #25266C
triadic
#254A6C #6C254A #4A6C25
tetradic
#254A6C #6A256C #6C4725 #266C25
square
#254A6C #6A256C #6C4725 #266C25
split-complementary
#254A6C #6C2526 #6C6A25
monochromatic
#081017 #152B3E #254A6C #35699A #4A88C1

Accessibility & contrast

On white

9.23
#254A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#254A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A6C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A6C#FFFFFF#000000##FFFFFF
##254A6C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#32446B
Tritanopia (blue-blind)
#005256
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254a6c;
/* rgb */ color: rgb(37, 74, 108);
/* oklch */ color: oklch(39.8% 0.072 248.2);
Tailwind
colors: {
  custom: {
    50: '#677c96',
    500: '#254a6c',
    950: '#000000',
  },
}
SCSS
$custom: #254a6c;
$custom-light: #677c96;
$custom-dark: #000000;
JSON
{
  "hex": "#254a6c",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 108
  },
  "hsl": {
    "h": 208.732,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.0718,
    "h": 248.2
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#254A6C
secondary
#9F754E
accent
#914FD9
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #254A6C

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

Preview Lab → · Contrast checker → · Palette generator →

#254A6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva