#254CC9#254CC9

#254CC9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.199 H 265.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#254CC9
RGBrgb(37, 76, 201)
HSLhsl(226, 69%, 47%)
HSVhsv(226, 82%, 79%)
CMYKcmyk(81.6%, 62.2%, 0%, 21.2%)
CIE-LABlab(37.44, 33.00, -68.49)
CIE-LCHlch(37.44, 76.02, 295.72°)
OKLaboklab(47.32% -0.0152 -0.1982)
OKLCHoklch(47.32% 0.199 265.6)
XYZxyz(13.8863, 9.7776, 56.4024)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CC9 #C9A225
analogous
#259EC9 #254CC9 #5025C9
triadic
#254CC9 #C9254C #4CC925
tetradic
#254CC9 #C9259E #C9A225 #25C950
square
#254CC9 #C9259E #C9A225 #25C950
split-complementary
#254CC9 #C95025 #9EC925
monochromatic
#122562 #1B3895 #254CC9 #4D70DE #8199E8

Accessibility & contrast

On white

7.10
#254CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#254CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CC9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CC9#FFFFFF#000000##FFFFFF
##254CC91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #254cc9;
/* rgb */ color: rgb(37, 76, 201);
/* oklch */ color: oklch(47.3% 0.199 265.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dda',
    500: '#254cc9',
    950: '#000000',
  },
}
SCSS
$custom: #254cc9;
$custom-light: #7c7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#254cc9",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 225.732,
    "s": 68.908,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.19882,
    "h": 265.6
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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