#254A7D#254A7D

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

Color values

HEX#254A7D
RGBrgb(37, 74, 125)
HSLhsl(215, 54%, 32%)
HSVhsv(215, 70%, 49%)
CMYKcmyk(70.4%, 40.8%, 0%, 51%)
CIE-LABlab(31.28, 4.91, -32.82)
CIE-LCHlch(31.28, 33.18, 278.51°)
OKLaboklab(40.88% -0.0217 -0.0935)
OKLCHoklch(40.88% 0.096 256.9)
XYZxyz(6.9121, 6.7708, 20.3407)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A7D #7D5825
analogous
#25767D #254A7D #2C257D
triadic
#254A7D #7D254A #4A7D25
tetradic
#254A7D #7D2576 #7D5825 #257D2C
square
#254A7D #7D2576 #7D5825 #257D2C
split-complementary
#254A7D #7D2C25 #767D25
monochromatic
#09121F #172E4E #254A7D #3366AC #5184CB

Accessibility & contrast

On white

8.92
#254A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#254A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A7D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A7D#FFFFFF#000000##FFFFFF
##254A7D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254a7d;
/* rgb */ color: rgb(37, 74, 125);
/* oklch */ color: oklch(40.9% 0.096 256.9);
Tailwind
colors: {
  custom: {
    50: '#6a7ca3',
    500: '#254a7d',
    950: '#000000',
  },
}
SCSS
$custom: #254a7d;
$custom-light: #6a7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#254a7d",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 214.773,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.09594,
    "h": 256.9
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#254A7D
secondary
#AF874F
accent
#A04ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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