#254C85#254C85

#254C85 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.105 H 258.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#254C85
RGBrgb(37, 76, 133)
HSLhsl(216, 56%, 33%)
HSVhsv(216, 72%, 52%)
CMYKcmyk(72.2%, 42.9%, 0%, 47.8%)
CIE-LABlab(32.38, 6.68, -36.02)
CIE-LCHlch(32.38, 36.63, 280.50°)
OKLaboklab(41.9% -0.0219 -0.1028)
OKLCHoklch(41.9% 0.105 258)
XYZxyz(7.5795, 7.2549, 23.1866)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C85 #855E25
analogous
#257C85 #254C85 #2E2585
triadic
#254C85 #85254C #4C8525
tetradic
#254C85 #85257C #855E25 #25852E
square
#254C85 #85257C #855E25 #25852E
split-complementary
#254C85 #852E25 #7C8525
monochromatic
#0A1525 #183155 #254C85 #3267B5 #5587D0

Accessibility & contrast

On white

8.57
#254C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#254C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C85
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C85#FFFFFF#000000##FFFFFF
##254C851.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315187
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254c85;
/* rgb */ color: rgb(37, 76, 133);
/* oklch */ color: oklch(41.9% 0.105 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7da9',
    500: '#254c85',
    950: '#000000',
  },
}
SCSS
$custom: #254c85;
$custom-light: #6c7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#254c85",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 215.625,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.10512,
    "h": 258
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#254C85
secondary
#B48C52
accent
#A248E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254C85

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

Preview Lab → · Contrast checker → · Palette generator →

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