#254BB4#254BB4

#254BB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.172 H 265.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#254BB4
RGBrgb(37, 75, 180)
HSLhsl(224, 66%, 43%)
HSVhsv(224, 79%, 71%)
CMYKcmyk(79.4%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.44, 25.68, -59.45)
CIE-LCHlch(35.44, 64.76, 293.37°)
OKLaboklab(45.29% -0.0151 -0.1718)
OKLCHoklch(45.29% 0.172 265)
XYZxyz(11.5143, 8.7194, 44.2473)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BB4 #B48E25
analogous
#2593B4 #254BB4 #4625B4
triadic
#254BB4 #B4254B #4BB425
tetradic
#254BB4 #B42593 #B48E25 #25B446
square
#254BB4 #B42593 #B48E25 #25B446
split-complementary
#254BB4 #B44625 #93B425
monochromatic
#10214E #1B3681 #254BB4 #3F67D7 #718FE2

Accessibility & contrast

On white

7.65
#254BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#254BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BB4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BB4#FFFFFF#000000##FFFFFF
##254BB41.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #254bb4;
/* rgb */ color: rgb(37, 75, 180);
/* oklch */ color: oklch(45.3% 0.172 265.0);
Tailwind
colors: {
  custom: {
    50: '#777ccb',
    500: '#254bb4',
    950: '#000000',
  },
}
SCSS
$custom: #254bb4;
$custom-light: #777ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#254bb4",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 224.056,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.17241,
    "h": 265
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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