#254C75#254C75

#254C75 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.082 H 251.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#254C75
RGBrgb(37, 76, 117)
HSLhsl(211, 52%, 30%)
HSVhsv(211, 68%, 46%)
CMYKcmyk(68.4%, 35%, 0%, 54.1%)
CIE-LABlab(31.45, 0.53, -27.55)
CIE-LCHlch(31.45, 27.55, 271.09°)
OKLaboklab(40.87% -0.0261 -0.078)
OKLCHoklch(40.87% 0.082 251.5)
XYZxyz(6.5571, 6.8459, 17.8020)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C75 #754E25
analogous
#257475 #254C75 #262575
triadic
#254C75 #75254C #4C7525
tetradic
#254C75 #752574 #754E25 #257526
square
#254C75 #752574 #754E25 #257526
split-complementary
#254C75 #752625 #747525
monochromatic
#081018 #162E47 #254C75 #346AA3 #4E89C7

Accessibility & contrast

On white

8.86
#254C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C75
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C75#FFFFFF#000000##FFFFFF
##254C751.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E77
Deuteranopia (green-blind)
#2F4774
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254c75;
/* rgb */ color: rgb(37, 76, 117);
/* oklch */ color: oklch(40.9% 0.082 251.5);
Tailwind
colors: {
  custom: {
    50: '#697d9d',
    500: '#254c75',
    950: '#000000',
  },
}
SCSS
$custom: #254c75;
$custom-light: #697d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#254c75",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 117
  },
  "hsl": {
    "h": 210.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40871,
    "c": 0.08226,
    "h": 251.5
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#254C75
secondary
#A87C4E
accent
#964CDB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254C75

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

Preview Lab → · Contrast checker → · Palette generator →

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