#254B85#254B85

#254B85 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.106 H 258.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#254B85
RGBrgb(37, 75, 133)
HSLhsl(216, 56%, 33%)
HSVhsv(216, 72%, 52%)
CMYKcmyk(72.2%, 43.6%, 0%, 47.8%)
CIE-LABlab(32.07, 7.35, -36.51)
CIE-LCHlch(32.07, 37.24, 281.38°)
OKLaboklab(41.66% -0.0208 -0.1043)
OKLCHoklch(41.66% 0.106 258.7)
XYZxyz(7.5111, 7.1181, 23.1638)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B85 #855F25
analogous
#257B85 #254B85 #2F2585
triadic
#254B85 #85254B #4B8525
tetradic
#254B85 #85257B #855F25 #25852F
square
#254B85 #85257B #855F25 #25852F
split-complementary
#254B85 #852F25 #7B8525
monochromatic
#0A1525 #183055 #254B85 #3266B5 #5585D0

Accessibility & contrast

On white

8.66
#254B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#254B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B85
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B85#FFFFFF#000000##FFFFFF
##254B851.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5087
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254b85;
/* rgb */ color: rgb(37, 75, 133);
/* oklch */ color: oklch(41.7% 0.106 258.7);
Tailwind
colors: {
  custom: {
    50: '#6c7ca9',
    500: '#254b85',
    950: '#000000',
  },
}
SCSS
$custom: #254b85;
$custom-light: #6c7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#254b85",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 216.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.10633,
    "h": 258.7
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#254B85
secondary
#B48D52
accent
#A448E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254B85

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

Preview Lab → · Contrast checker → · Palette generator →

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