#254BB9#254BB9

#254BB9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.179 H 265.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#254BB9
RGBrgb(37, 75, 185)
HSLhsl(225, 67%, 44%)
HSVhsv(225, 80%, 73%)
CMYKcmyk(80%, 59.5%, 0%, 27.5%)
CIE-LABlab(35.84, 27.60, -61.74)
CIE-LCHlch(35.84, 67.63, 294.09°)
OKLaboklab(45.72% -0.0149 -0.1785)
OKLCHoklch(45.72% 0.179 265.2)
XYZxyz(12.0329, 8.9268, 46.9784)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BB9 #B99325
analogous
#2595B9 #254BB9 #4925B9
triadic
#254BB9 #B9254B #4BB925
tetradic
#254BB9 #B92595 #B99325 #25B949
square
#254BB9 #B92595 #B99325 #25B949
split-complementary
#254BB9 #B94925 #95B925
monochromatic
#112253 #1B3686 #254BB9 #4269D9 #7591E3

Accessibility & contrast

On white

7.54
#254BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#254BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BB9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BB9#FFFFFF#000000##FFFFFF
##254BB91.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #254bb9;
/* rgb */ color: rgb(37, 75, 185);
/* oklch */ color: oklch(45.7% 0.179 265.2);
Tailwind
colors: {
  custom: {
    50: '#787ccf',
    500: '#254bb9',
    950: '#000000',
  },
}
SCSS
$custom: #254bb9;
$custom-light: #787ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#254bb9",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 224.595,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.17909,
    "h": 265.2
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#254BB9
secondary
#CBB36F
accent
#BE3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #254BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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