#253F8A#253F8A

#253F8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.129 H 266.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#253F8A
RGBrgb(37, 63, 138)
HSLhsl(225, 58%, 34%)
HSVhsv(225, 73%, 54%)
CMYKcmyk(73.2%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.86, 17.49, -44.77)
CIE-LCHlch(28.86, 48.06, 291.34°)
OKLaboklab(39.3% -0.0087 -0.1288)
OKLCHoklch(39.3% 0.129 266.1)
XYZxyz(7.1263, 5.7826, 24.7804)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F8A #8A7025
analogous
#25728A #253F8A #3D258A
triadic
#253F8A #8A253F #3F8A25
tetradic
#253F8A #8A2572 #8A7025 #258A3D
square
#253F8A #8A2572 #8A7025 #258A3D
split-complementary
#253F8A #8A3D25 #728A25
monochromatic
#0B1329 #18295A #253F8A #3255BA #5777D2

Accessibility & contrast

On white

9.74
#253F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#253F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F8A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F8A#FFFFFF#000000##FFFFFF
##253F8A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253f8a;
/* rgb */ color: rgb(37, 63, 138);
/* oklch */ color: oklch(39.3% 0.129 266.1);
Tailwind
colors: {
  custom: {
    50: '#6e73ad',
    500: '#253f8a',
    950: '#000000',
  },
}
SCSS
$custom: #253f8a;
$custom-light: #6e73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253f8a",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 224.554,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.12908,
    "h": 266.1
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#253F8A
secondary
#B79D54
accent
#B947E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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