#254A7B#254A7B

#254A7B is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.093 H 256.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#254A7B
RGBrgb(37, 74, 123)
HSLhsl(214, 54%, 31%)
HSVhsv(214, 70%, 48%)
CMYKcmyk(69.9%, 39.8%, 0%, 51.8%)
CIE-LABlab(31.16, 4.14, -31.76)
CIE-LCHlch(31.16, 32.03, 277.43°)
OKLaboklab(40.75% -0.0222 -0.0904)
OKLCHoklch(40.75% 0.093 256.2)
XYZxyz(6.7856, 6.7202, 19.6746)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A7B #7B5625
analogous
#25757B #254A7B #2B257B
triadic
#254A7B #7B254A #4A7B25
tetradic
#254A7B #7B2575 #7B5625 #257B2B
square
#254A7B #7B2575 #7B5625 #257B2B
split-complementary
#254A7B #7B2B25 #757B25
monochromatic
#09111D #172E4C #254A7B #3366AA #5085CA

Accessibility & contrast

On white

8.96
#254A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#254A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A7B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A7B#FFFFFF#000000##FFFFFF
##254A7B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#27467A
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254a7b;
/* rgb */ color: rgb(37, 74, 123);
/* oklch */ color: oklch(40.8% 0.093 256.2);
Tailwind
colors: {
  custom: {
    50: '#6a7ca1',
    500: '#254a7b',
    950: '#000000',
  },
}
SCSS
$custom: #254a7b;
$custom-light: #6a7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#254a7b",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 214.186,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.09304,
    "h": 256.2
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#254A7B
secondary
#AD854F
accent
#9E4BDD
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #254A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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