#254BB0#254BB0

#254BB0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.167 H 264.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#254BB0
RGBrgb(37, 75, 176)
HSLhsl(224, 65%, 42%)
HSVhsv(224, 79%, 69%)
CMYKcmyk(79%, 57.4%, 0%, 31%)
CIE-LABlab(35.12, 24.14, -57.60)
CIE-LCHlch(35.12, 62.46, 292.74°)
OKLaboklab(44.95% -0.0153 -0.1663)
OKLCHoklch(44.95% 0.167 264.8)
XYZxyz(11.1127, 8.5588, 42.1322)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BB0 #B08A25
analogous
#2591B0 #254BB0 #4525B0
triadic
#254BB0 #B0254B #4BB025
tetradic
#254BB0 #B02591 #B08A25 #25B045
square
#254BB0 #B02591 #B08A25 #25B045
split-complementary
#254BB0 #B04525 #91B025
monochromatic
#10204B #1A357D #254BB0 #3C66D6 #6F8EE1

Accessibility & contrast

On white

7.74
#254BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#254BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BB0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BB0#FFFFFF#000000##FFFFFF
##254BB01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254bb0;
/* rgb */ color: rgb(37, 75, 176);
/* oklch */ color: oklch(45.0% 0.167 264.8);
Tailwind
colors: {
  custom: {
    50: '#767cc8',
    500: '#254bb0',
    950: '#000000',
  },
}
SCSS
$custom: #254bb0;
$custom-light: #767cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#254bb0",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 223.597,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.16702,
    "h": 264.8
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#254BB0
secondary
#C7AE6A
accent
#BA40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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