#254CB9#254CB9

#254CB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.178 H 265.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#254CB9
RGBrgb(37, 76, 185)
HSLhsl(224, 67%, 44%)
HSVhsv(224, 80%, 73%)
CMYKcmyk(80%, 58.9%, 0%, 27.5%)
CIE-LABlab(36.11, 26.94, -61.31)
CIE-LCHlch(36.11, 66.97, 293.72°)
OKLaboklab(45.91% -0.0155 -0.1772)
OKLCHoklch(45.91% 0.178 265)
XYZxyz(12.1012, 9.0636, 47.0012)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CB9 #B99225
analogous
#2596B9 #254CB9 #4825B9
triadic
#254CB9 #B9254C #4CB925
tetradic
#254CB9 #B92596 #B99225 #25B948
square
#254CB9 #B92596 #B99225 #25B948
split-complementary
#254CB9 #B94825 #96B925
monochromatic
#112253 #1B3786 #254CB9 #426AD9 #7592E3

Accessibility & contrast

On white

7.47
#254CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#254CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CB9
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CB9#FFFFFF#000000##FFFFFF
##254CB91.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #254cb9;
/* rgb */ color: rgb(37, 76, 185);
/* oklch */ color: oklch(45.9% 0.178 265.0);
Tailwind
colors: {
  custom: {
    50: '#787dcf',
    500: '#254cb9',
    950: '#000000',
  },
}
SCSS
$custom: #254cb9;
$custom-light: #787dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#254cb9",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 224.189,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.17788,
    "h": 265
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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