#254F84#254F84

#254F84 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.100 H 255.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#254F84
RGBrgb(37, 79, 132)
HSLhsl(213, 56%, 33%)
HSVhsv(213, 72%, 52%)
CMYKcmyk(72%, 40.2%, 0%, 48.2%)
CIE-LABlab(33.24, 4.30, -34.03)
CIE-LCHlch(33.24, 34.30, 277.20°)
OKLaboklab(42.55% -0.0252 -0.0969)
OKLCHoklch(42.55% 0.1 255.4)
XYZxyz(7.7223, 7.6504, 22.8950)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F84 #845A25
analogous
#257E84 #254F84 #2B2584
triadic
#254F84 #84254F #4F8425
tetradic
#254F84 #84257E #845A25 #25842B
square
#254F84 #84257E #845A25 #25842B
split-complementary
#254F84 #842B25 #7E8425
monochromatic
#0A1624 #183254 #254F84 #326CB4 #548BCF

Accessibility & contrast

On white

8.30
#254F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#254F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F84
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F84#FFFFFF#000000##FFFFFF
##254F841.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254f84;
/* rgb */ color: rgb(37, 79, 132);
/* oklch */ color: oklch(42.5% 0.100 255.4);
Tailwind
colors: {
  custom: {
    50: '#6c7fa8',
    500: '#254f84',
    950: '#000000',
  },
}
SCSS
$custom: #254f84;
$custom-light: #6c7fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#254f84",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 213.474,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.10014,
    "h": 255.4
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#254F84
secondary
#B38851
accent
#9D48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254F84

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

Preview Lab → · Contrast checker → · Palette generator →

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