#254CA0#254CA0

#254CA0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.144 H 263.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#254CA0
RGBrgb(37, 76, 160)
HSLhsl(221, 62%, 39%)
HSVhsv(221, 77%, 63%)
CMYKcmyk(76.9%, 52.5%, 0%, 37.3%)
CIE-LABlab(34.19, 17.25, -49.56)
CIE-LCHlch(34.19, 52.47, 289.19°)
OKLaboklab(43.86% -0.0173 -0.1426)
OKLCHoklch(43.86% 0.144 263.1)
XYZxyz(9.6903, 8.0992, 34.3035)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CA0 #A07925
analogous
#2589A0 #254CA0 #3B25A0
triadic
#254CA0 #A0254C #4CA025
tetradic
#254CA0 #A02589 #A07925 #25A03B
square
#254CA0 #A02589 #A07925 #25A03B
split-complementary
#254CA0 #A03B25 #89A025
monochromatic
#0E1D3D #1A346E #254CA0 #3264D0 #648ADB

Accessibility & contrast

On white

8.02
#254CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#254CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CA0
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CA0#FFFFFF#000000##FFFFFF
##254CA01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254ca0;
/* rgb */ color: rgb(37, 76, 160);
/* oklch */ color: oklch(43.9% 0.144 263.1);
Tailwind
colors: {
  custom: {
    50: '#727dbd',
    500: '#254ca0',
    950: '#000000',
  },
}
SCSS
$custom: #254ca0;
$custom-light: #727dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#254ca0",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 220.976,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.14369,
    "h": 263.1
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#254CA0
secondary
#C1A260
accent
#B242E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #254CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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