#254BB5#254BB5

#254BB5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.174 H 265.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#254BB5
RGBrgb(37, 75, 181)
HSLhsl(224, 66%, 43%)
HSVhsv(224, 80%, 71%)
CMYKcmyk(79.6%, 58.6%, 0%, 29%)
CIE-LABlab(35.52, 26.07, -59.91)
CIE-LCHlch(35.52, 65.34, 293.51°)
OKLaboklab(45.37% -0.015 -0.1731)
OKLCHoklch(45.37% 0.174 265)
XYZxyz(11.6166, 8.7603, 44.7858)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BB5 #B58F25
analogous
#2593B5 #254BB5 #4725B5
triadic
#254BB5 #B5254B #4BB525
tetradic
#254BB5 #B52593 #B58F25 #25B547
square
#254BB5 #B52593 #B58F25 #25B547
split-complementary
#254BB5 #B54725 #93B525
monochromatic
#10214F #1B3682 #254BB5 #3F68D8 #7290E2

Accessibility & contrast

On white

7.63
#254BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#254BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BB5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BB5#FFFFFF#000000##FFFFFF
##254BB51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #254bb5;
/* rgb */ color: rgb(37, 75, 181);
/* oklch */ color: oklch(45.4% 0.174 265.0);
Tailwind
colors: {
  custom: {
    50: '#777ccc',
    500: '#254bb5',
    950: '#000000',
  },
}
SCSS
$custom: #254bb5;
$custom-light: #777ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#254bb5",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 224.167,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.17375,
    "h": 265
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#254BB5
secondary
#C9B16D
accent
#BC3FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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