#254F71#254F71

#254F71 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.074 H 245.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#254F71
RGBrgb(37, 79, 113)
HSLhsl(207, 51%, 29%)
HSVhsv(207, 67%, 44%)
CMYKcmyk(67.3%, 30.1%, 0%, 55.7%)
CIE-LABlab(32.21, -2.91, -23.86)
CIE-LCHlch(32.21, 24.04, 263.04°)
OKLaboklab(41.39% -0.0308 -0.0673)
OKLCHoklch(41.39% 0.074 245.4)
XYZxyz(6.5385, 7.1769, 16.6603)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F71 #714725
analogous
#25716D #254F71 #252971
triadic
#254F71 #71254F #4F7125
tetradic
#254F71 #6D2571 #714725 #297125
square
#254F71 #6D2571 #714725 #297125
split-complementary
#254F71 #712529 #716D25
monochromatic
#081017 #162F43 #254F71 #346F9F #4C8FC4

Accessibility & contrast

On white

8.62
#254F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#254F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F71
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F71#FFFFFF#000000##FFFFFF
##254F711.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254f71;
/* rgb */ color: rgb(37, 79, 113);
/* oklch */ color: oklch(41.4% 0.074 245.4);
Tailwind
colors: {
  custom: {
    50: '#68809a',
    500: '#254f71',
    950: '#000000',
  },
}
SCSS
$custom: #254f71;
$custom-light: #68809a;
$custom-dark: #000000;
JSON
{
  "hex": "#254f71",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 206.842,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.07398,
    "h": 245.4
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#254F71
secondary
#A4744E
accent
#8D4EDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254F71

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

Preview Lab → · Contrast checker → · Palette generator →

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