#254F85#254F85

#254F85 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.102 H 255.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#254F85
RGBrgb(37, 79, 133)
HSLhsl(214, 56%, 33%)
HSVhsv(214, 72%, 52%)
CMYKcmyk(72.2%, 40.6%, 0%, 47.8%)
CIE-LABlab(33.30, 4.69, -34.55)
CIE-LCHlch(33.30, 34.86, 277.72°)
OKLaboklab(42.61% -0.0249 -0.0985)
OKLCHoklch(42.61% 0.102 255.8)
XYZxyz(7.7910, 7.6779, 23.2571)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F85 #855B25
analogous
#257F85 #254F85 #2B2585
triadic
#254F85 #85254F #4F8525
tetradic
#254F85 #85257F #855B25 #25852B
square
#254F85 #85257F #855B25 #25852B
split-complementary
#254F85 #852B25 #7F8525
monochromatic
#0A1625 #183355 #254F85 #326BB5 #558BD0

Accessibility & contrast

On white

8.28
#254F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#254F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F85
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F85#FFFFFF#000000##FFFFFF
##254F851.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254f85;
/* rgb */ color: rgb(37, 79, 133);
/* oklch */ color: oklch(42.6% 0.102 255.8);
Tailwind
colors: {
  custom: {
    50: '#6c7fa9',
    500: '#254f85',
    950: '#000000',
  },
}
SCSS
$custom: #254f85;
$custom-light: #6c7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#254f85",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 213.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.10156,
    "h": 255.8
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#254F85
secondary
#B48952
accent
#9D48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #254F85

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

Preview Lab → · Contrast checker → · Palette generator →

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