#254DB9#254DB9

#254DB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.177 H 264.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#254DB9
RGBrgb(37, 77, 185)
HSLhsl(224, 67%, 44%)
HSVhsv(224, 80%, 73%)
CMYKcmyk(80%, 58.4%, 0%, 27.5%)
CIE-LABlab(36.37, 26.28, -60.88)
CIE-LCHlch(36.37, 66.31, 293.35°)
OKLaboklab(46.11% -0.0161 -0.1759)
OKLCHoklch(46.11% 0.177 264.8)
XYZxyz(12.1707, 9.2024, 47.0243)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DB9 #B99125
analogous
#2597B9 #254DB9 #4725B9
triadic
#254DB9 #B9254D #4DB925
tetradic
#254DB9 #B92597 #B99125 #25B947
square
#254DB9 #B92597 #B99125 #25B947
split-complementary
#254DB9 #B94725 #97B925
monochromatic
#112353 #1B3886 #254DB9 #426BD9 #7593E3

Accessibility & contrast

On white

7.39
#254DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#254DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254DB9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DB9#FFFFFF#000000##FFFFFF
##254DB91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #254db9;
/* rgb */ color: rgb(37, 77, 185);
/* oklch */ color: oklch(46.1% 0.177 264.8);
Tailwind
colors: {
  custom: {
    50: '#787ecf',
    500: '#254db9',
    950: '#000000',
  },
}
SCSS
$custom: #254db9;
$custom-light: #787ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#254db9",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 223.784,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.17666,
    "h": 264.8
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#254DB9
secondary
#CBB26F
accent
#BB3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #254DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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