#254E83#254E83

#254E83 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.100 H 255.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#254E83
RGBrgb(37, 78, 131)
HSLhsl(214, 56%, 33%)
HSVhsv(214, 72%, 51%)
CMYKcmyk(71.8%, 40.5%, 0%, 48.6%)
CIE-LABlab(32.88, 4.57, -34.00)
CIE-LCHlch(32.88, 34.30, 277.66°)
OKLaboklab(42.24% -0.0244 -0.0968)
OKLCHoklch(42.24% 0.1 255.9)
XYZxyz(7.5826, 7.4800, 22.5125)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E83 #835A25
analogous
#257D83 #254E83 #2B2583
triadic
#254E83 #83254E #4E8325
tetradic
#254E83 #83257D #835A25 #25832B
square
#254E83 #83257D #835A25 #25832B
split-complementary
#254E83 #832B25 #7D8325
monochromatic
#0A1524 #183253 #254E83 #326AB3 #5489CF

Accessibility & contrast

On white

8.41
#254E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#254E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E83
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E83#FFFFFF#000000##FFFFFF
##254E831.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365285
Deuteranopia (green-blind)
#274982
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254e83;
/* rgb */ color: rgb(37, 78, 131);
/* oklch */ color: oklch(42.2% 0.100 255.9);
Tailwind
colors: {
  custom: {
    50: '#6c7fa7',
    500: '#254e83',
    950: '#000000',
  },
}
SCSS
$custom: #254e83;
$custom-light: #6c7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#254e83",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 213.83,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.09987,
    "h": 255.9
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254E83

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

Preview Lab → · Contrast checker → · Palette generator →

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