#254F76#254F76

#254F76 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.081 H 248.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#254F76
RGBrgb(37, 79, 118)
HSLhsl(209, 52%, 30%)
HSVhsv(209, 69%, 46%)
CMYKcmyk(68.6%, 33.1%, 0%, 53.7%)
CIE-LABlab(32.46, -1.05, -26.58)
CIE-LCHlch(32.46, 26.60, 267.74°)
OKLaboklab(41.68% -0.0292 -0.0752)
OKLCHoklch(41.68% 0.081 248.8)
XYZxyz(6.8277, 7.2926, 18.1838)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F76 #764C25
analogous
#257674 #254F76 #252676
triadic
#254F76 #76254F #4F7625
tetradic
#254F76 #742576 #764C25 #267625
square
#254F76 #742576 #764C25 #267625
split-complementary
#254F76 #762526 #767425
monochromatic
#081119 #163047 #254F76 #346EA5 #4E8DC7

Accessibility & contrast

On white

8.54
#254F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#254F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F76
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F76#FFFFFF#000000##FFFFFF
##254F761.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5178
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254f76;
/* rgb */ color: rgb(37, 79, 118);
/* oklch */ color: oklch(41.7% 0.081 248.8);
Tailwind
colors: {
  custom: {
    50: '#69809d',
    500: '#254f76',
    950: '#000000',
  },
}
SCSS
$custom: #254f76;
$custom-light: #69809d;
$custom-dark: #000000;
JSON
{
  "hex": "#254f76",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 118
  },
  "hsl": {
    "h": 208.889,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.08063,
    "h": 248.8
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#254F76
secondary
#A97A4E
accent
#914CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #254F76

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

Preview Lab → · Contrast checker → · Palette generator →

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