#254DC9#254DC9

#254DC9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.198 H 265.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#254DC9
RGBrgb(37, 77, 201)
HSLhsl(225, 69%, 47%)
HSVhsv(225, 82%, 79%)
CMYKcmyk(81.6%, 61.7%, 0%, 21.2%)
CIE-LABlab(37.69, 32.35, -68.07)
CIE-LCHlch(37.69, 75.37, 295.42°)
OKLaboklab(47.51% -0.0158 -0.197)
OKLCHoklch(47.51% 0.198 265.4)
XYZxyz(13.9557, 9.9164, 56.4255)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DC9 #C9A125
analogous
#259FC9 #254DC9 #4F25C9
triadic
#254DC9 #C9254D #4DC925
tetradic
#254DC9 #C9259F #C9A125 #25C94F
square
#254DC9 #C9259F #C9A125 #25C94F
split-complementary
#254DC9 #C94F25 #9FC925
monochromatic
#122562 #1B3995 #254DC9 #4D70DE #819AE8

Accessibility & contrast

On white

7.04
#254DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#254DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254DC9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DC9#FFFFFF#000000##FFFFFF
##254DC91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #254dc9;
/* rgb */ color: rgb(37, 77, 201);
/* oklch */ color: oklch(47.5% 0.198 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c7eda',
    500: '#254dc9',
    950: '#000000',
  },
}
SCSS
$custom: #254dc9;
$custom-light: #7c7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#254dc9",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 225.366,
    "s": 68.908,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.19764,
    "h": 265.4
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#254DC9
secondary
#D0BB79
accent
#C13CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #254DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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