#254DA1#254DA1

#254DA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.144 H 262.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#254DA1
RGBrgb(37, 77, 161)
HSLhsl(221, 63%, 39%)
HSVhsv(221, 77%, 63%)
CMYKcmyk(77%, 52.2%, 0%, 36.9%)
CIE-LABlab(34.55, 16.97, -49.58)
CIE-LCHlch(34.55, 52.40, 288.89°)
OKLaboklab(44.16% -0.018 -0.1427)
OKLCHoklch(44.16% 0.144 262.8)
XYZxyz(9.8475, 8.2732, 34.7892)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254DA1 #A17925
analogous
#258BA1 #254DA1 #3B25A1
triadic
#254DA1 #A1254D #4DA125
tetradic
#254DA1 #A1258B #A17925 #25A13B
square
#254DA1 #A1258B #A17925 #25A13B
split-complementary
#254DA1 #A13B25 #8BA125
monochromatic
#0E1D3D #1A356F #254DA1 #3366D0 #658BDC

Accessibility & contrast

On white

7.91
#254DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254DA1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254DA1#FFFFFF#000000##FFFFFF
##254DA11.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #254da1;
/* rgb */ color: rgb(37, 77, 161);
/* oklch */ color: oklch(44.2% 0.144 262.8);
Tailwind
colors: {
  custom: {
    50: '#727ebd',
    500: '#254da1',
    950: '#000000',
  },
}
SCSS
$custom: #254da1;
$custom-light: #727ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#254da1",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 220.645,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.14382,
    "h": 262.8
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#254DA1
secondary
#C1A261
accent
#B142E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #254DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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