#253F8D#253F8D

#253F8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.133 H 266.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#253F8D
RGBrgb(37, 63, 141)
HSLhsl(225, 58%, 35%)
HSVhsv(225, 74%, 55%)
CMYKcmyk(73.8%, 55.3%, 0%, 44.7%)
CIE-LABlab(29.08, 18.66, -46.25)
CIE-LCHlch(29.08, 49.88, 291.97°)
OKLaboklab(39.55% -0.0084 -0.1332)
OKLCHoklch(39.55% 0.133 266.4)
XYZxyz(7.3465, 5.8706, 25.9401)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F8D #8D7325
analogous
#25738D #253F8D #3F258D
triadic
#253F8D #8D253F #3F8D25
tetradic
#253F8D #8D2573 #8D7325 #258D3F
square
#253F8D #8D2573 #8D7325 #258D3F
split-complementary
#253F8D #8D3F25 #738D25
monochromatic
#0C142C #18295D #253F8D #3255BD #5978D3

Accessibility & contrast

On white

9.66
#253F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#253F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F8D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F8D#FFFFFF#000000##FFFFFF
##253F8D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253f8d;
/* rgb */ color: rgb(37, 63, 141);
/* oklch */ color: oklch(39.5% 0.133 266.4);
Tailwind
colors: {
  custom: {
    50: '#6e73af',
    500: '#253f8d',
    950: '#000000',
  },
}
SCSS
$custom: #253f8d;
$custom-light: #6e73af;
$custom-dark: #000000;
JSON
{
  "hex": "#253f8d",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 225,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.13343,
    "h": 266.4
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#253F8D
secondary
#B89F56
accent
#BB46E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#253F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva