#254CA4#254CA4

#254CA4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.149 H 263.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#254CA4
RGBrgb(37, 76, 164)
HSLhsl(222, 63%, 39%)
HSVhsv(222, 77%, 64%)
CMYKcmyk(77.4%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.48, 18.81, -51.49)
CIE-LCHlch(34.48, 54.82, 290.07°)
OKLaboklab(44.18% -0.0169 -0.1483)
OKLCHoklch(44.18% 0.149 263.5)
XYZxyz(10.0458, 8.2414, 36.1761)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CA4 #A47D25
analogous
#258CA4 #254CA4 #3E25A4
triadic
#254CA4 #A4254C #4CA425
tetradic
#254CA4 #A4258C #A47D25 #25A43E
square
#254CA4 #A4258C #A47D25 #25A43E
split-complementary
#254CA4 #A43E25 #8CA425
monochromatic
#0E1E40 #1A3572 #254CA4 #3565D1 #678BDD

Accessibility & contrast

On white

7.93
#254CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#254CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CA4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CA4#FFFFFF#000000##FFFFFF
##254CA41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #254ca4;
/* rgb */ color: rgb(37, 76, 164);
/* oklch */ color: oklch(44.2% 0.149 263.5);
Tailwind
colors: {
  custom: {
    50: '#737dc0',
    500: '#254ca4',
    950: '#000000',
  },
}
SCSS
$custom: #254ca4;
$custom-light: #737dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#254ca4",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 221.575,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.14928,
    "h": 263.5
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#254CA4
secondary
#C2A562
accent
#B442E6
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #254CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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