#254BC6#254BC6

#254BC6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.196 H 265.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#254BC6
RGBrgb(37, 75, 198)
HSLhsl(226, 69%, 46%)
HSVhsv(226, 81%, 78%)
CMYKcmyk(81.3%, 62.1%, 0%, 22.4%)
CIE-LABlab(36.93, 32.52, -67.57)
CIE-LCHlch(36.93, 74.99, 295.70°)
OKLaboklab(46.87% -0.0147 -0.1956)
OKLCHoklch(46.87% 0.196 265.7)
XYZxyz(13.4685, 9.5011, 54.5392)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BC6 #C6A025
analogous
#259BC6 #254BC6 #5025C6
triadic
#254BC6 #C6254B #4BC625
tetradic
#254BC6 #C6259B #C6A025 #25C650
square
#254BC6 #C6259B #C6A025 #25C650
split-complementary
#254BC6 #C65025 #9BC625
monochromatic
#12245F #1B3792 #254BC6 #4B6DDD #7E97E7

Accessibility & contrast

On white

7.24
#254BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#254BC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BC6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BC6#FFFFFF#000000##FFFFFF
##254BC61.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #254bc6;
/* rgb */ color: rgb(37, 75, 198);
/* oklch */ color: oklch(46.9% 0.196 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c7dd8',
    500: '#254bc6',
    950: '#000000',
  },
}
SCSS
$custom: #254bc6;
$custom-light: #7c7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#254bc6",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 225.839,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.19612,
    "h": 265.7
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#254BC6
secondary
#CFBB77
accent
#C23CEB
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0915
muted
#7C7B83

Preview Lab

Preview with #254BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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