#254BC9#254BC9

#254BC9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.200 H 265.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#254BC9
RGBrgb(37, 75, 201)
HSLhsl(226, 69%, 47%)
HSVhsv(226, 82%, 79%)
CMYKcmyk(81.6%, 62.7%, 0%, 21.2%)
CIE-LABlab(37.19, 33.64, -68.89)
CIE-LCHlch(37.19, 76.67, 296.03°)
OKLaboklab(47.14% -0.0147 -0.1994)
OKLCHoklch(47.14% 0.2 265.8)
XYZxyz(13.8179, 9.6409, 56.3796)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BC9 #C9A325
analogous
#259DC9 #254BC9 #5125C9
triadic
#254BC9 #C9254B #4BC925
tetradic
#254BC9 #C9259D #C9A325 #25C951
square
#254BC9 #C9259D #C9A325 #25C951
split-complementary
#254BC9 #C95125 #9DC925
monochromatic
#122462 #1B3895 #254BC9 #4D6FDE #8199E8

Accessibility & contrast

On white

7.17
#254BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#254BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BC9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BC9#FFFFFF#000000##FFFFFF
##254BC91.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #254bc9;
/* rgb */ color: rgb(37, 75, 201);
/* oklch */ color: oklch(47.1% 0.200 265.8);
Tailwind
colors: {
  custom: {
    50: '#7c7dda',
    500: '#254bc9',
    950: '#000000',
  },
}
SCSS
$custom: #254bc9;
$custom-light: #7c7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#254bc9",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 226.098,
    "s": 68.908,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.19998,
    "h": 265.8
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#254BC9
secondary
#D0BC79
accent
#C33CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #254BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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