#254F86#254F86

#254F86 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.103 H 256.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#254F86
RGBrgb(37, 79, 134)
HSLhsl(214, 57%, 34%)
HSVhsv(214, 72%, 53%)
CMYKcmyk(72.4%, 41%, 0%, 47.5%)
CIE-LABlab(33.36, 5.07, -35.07)
CIE-LCHlch(33.36, 35.43, 278.23°)
OKLaboklab(42.68% -0.0247 -0.1)
OKLCHoklch(42.68% 0.103 256.1)
XYZxyz(7.8604, 7.7057, 23.6227)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F86 #865C25
analogous
#257F86 #254F86 #2C2586
triadic
#254F86 #86254F #4F8625
tetradic
#254F86 #86257F #865C25 #25862C
square
#254F86 #86257F #865C25 #25862C
split-complementary
#254F86 #862C25 #7F8625
monochromatic
#0B1626 #183356 #254F86 #326BB6 #558AD0

Accessibility & contrast

On white

8.26
#254F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254F86
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F86#FFFFFF#000000##FFFFFF
##254F861.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365388
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254f86;
/* rgb */ color: rgb(37, 79, 134);
/* oklch */ color: oklch(42.7% 0.103 256.1);
Tailwind
colors: {
  custom: {
    50: '#6c7fa9',
    500: '#254f86',
    950: '#000000',
  },
}
SCSS
$custom: #254f86;
$custom-light: #6c7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#254f86",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 214.021,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.10299,
    "h": 256.1
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#254F86
secondary
#B48A52
accent
#9E48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #254F86

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

Preview Lab → · Contrast checker → · Palette generator →

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