#254CAA#254CAA

#254CAA is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.158 H 264.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#254CAA
RGBrgb(37, 76, 170)
HSLhsl(222, 64%, 41%)
HSVhsv(222, 78%, 67%)
CMYKcmyk(78.2%, 55.3%, 0%, 33.3%)
CIE-LABlab(34.93, 21.15, -54.34)
CIE-LCHlch(34.93, 58.32, 291.27°)
OKLaboklab(44.66% -0.0164 -0.1567)
OKLCHoklch(44.66% 0.158 264)
XYZxyz(10.6005, 8.4633, 39.0973)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CAA #AA8325
analogous
#258EAA #254CAA #4025AA
triadic
#254CAA #AA254C #4CAA25
tetradic
#254CAA #AA258E #AA8325 #25AA40
square
#254CAA #AA258E #AA8325 #25AA40
split-complementary
#254CAA #AA4025 #8EAA25
monochromatic
#0F1F45 #1A3678 #254CAA #3866D4 #6B8DDF

Accessibility & contrast

On white

7.80
#254CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#254CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CAA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CAA#FFFFFF#000000##FFFFFF
##254CAA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #254caa;
/* rgb */ color: rgb(37, 76, 170);
/* oklch */ color: oklch(44.7% 0.158 264.0);
Tailwind
colors: {
  custom: {
    50: '#747dc4',
    500: '#254caa',
    950: '#000000',
  },
}
SCSS
$custom: #254caa;
$custom-light: #747dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#254caa",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 222.406,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.15757,
    "h": 264
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#254CAA
secondary
#C5A966
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #254CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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