#254F82#254F82

#254F82 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.097 H 254.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#254F82
RGBrgb(37, 79, 130)
HSLhsl(213, 56%, 33%)
HSVhsv(213, 72%, 51%)
CMYKcmyk(71.5%, 39.2%, 0%, 49%)
CIE-LABlab(33.13, 3.53, -32.98)
CIE-LCHlch(33.13, 33.17, 276.10°)
OKLaboklab(42.42% -0.0257 -0.0939)
OKLCHoklch(42.42% 0.097 254.7)
XYZxyz(7.5867, 7.5962, 22.1811)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F82 #825825
analogous
#257E82 #254F82 #292582
triadic
#254F82 #82254F #4F8225
tetradic
#254F82 #82257E #825825 #258229
square
#254F82 #82257E #825825 #258229
split-complementary
#254F82 #822925 #7E8225
monochromatic
#0A1523 #173252 #254F82 #336CB2 #538BCE

Accessibility & contrast

On white

8.34
#254F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#254F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F82
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F82#FFFFFF#000000##FFFFFF
##254F821.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254f82;
/* rgb */ color: rgb(37, 79, 130);
/* oklch */ color: oklch(42.4% 0.097 254.7);
Tailwind
colors: {
  custom: {
    50: '#6b7fa6',
    500: '#254f82',
    950: '#000000',
  },
}
SCSS
$custom: #254f82;
$custom-light: #6b7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#254f82",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 212.903,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.09731,
    "h": 254.7
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#254F82
secondary
#B28650
accent
#9B49DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254F82

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

Preview Lab → · Contrast checker → · Palette generator →

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