#254F89#254F89

#254F89 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.107 H 257.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#254F89
RGBrgb(37, 79, 137)
HSLhsl(215, 57%, 34%)
HSVhsv(215, 73%, 54%)
CMYKcmyk(73%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.54, 6.24, -36.62)
CIE-LCHlch(33.54, 37.15, 279.66°)
OKLaboklab(42.88% -0.024 -0.1045)
OKLCHoklch(42.88% 0.107 257.1)
XYZxyz(8.0726, 7.7906, 24.7403)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F89 #895F25
analogous
#258189 #254F89 #2D2589
triadic
#254F89 #89254F #4F8925
tetradic
#254F89 #892581 #895F25 #25892D
square
#254F89 #892581 #895F25 #25892D
split-complementary
#254F89 #892D25 #818925
monochromatic
#0B1729 #183359 #254F89 #326BB9 #578AD2

Accessibility & contrast

On white

8.21
#254F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#254F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F89
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F89#FFFFFF#000000##FFFFFF
##254F891.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#234B88
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #254f89;
/* rgb */ color: rgb(37, 79, 137);
/* oklch */ color: oklch(42.9% 0.107 257.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fac',
    500: '#254f89',
    950: '#000000',
  },
}
SCSS
$custom: #254f89;
$custom-light: #6d7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#254f89",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 214.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42876,
    "c": 0.10726,
    "h": 257.1
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#254F89
secondary
#B68D54
accent
#A047E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #254F89

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

Preview Lab → · Contrast checker → · Palette generator →

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