#253B9A#253B9A

#253B9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.157 H 268.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#253B9A
RGBrgb(37, 59, 154)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 76%, 60%)
CMYKcmyk(76%, 61.7%, 0%, 39.6%)
CIE-LABlab(29.04, 26.42, -54.29)
CIE-LCHlch(29.04, 60.38, 295.94°)
OKLaboklab(39.84% -0.0048 -0.1568)
OKLCHoklch(39.84% 0.157 268.2)
XYZxyz(8.1576, 5.8535, 31.2655)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B9A #9A8425
analogous
#25769A #253B9A #49259A
triadic
#253B9A #9A253B #3B9A25
tetradic
#253B9A #9A2576 #9A8425 #259A49
square
#253B9A #9A2576 #9A8425 #259A49
split-complementary
#253B9A #9A4925 #769A25
monochromatic
#0D1537 #192869 #253B9A #314ECB #6077D9

Accessibility & contrast

On white

9.67
#253B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253B9A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B9A#FFFFFF#000000##FFFFFF
##253B9A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253b9a;
/* rgb */ color: rgb(37, 59, 154);
/* oklch */ color: oklch(39.8% 0.157 268.2);
Tailwind
colors: {
  custom: {
    50: '#7270b9',
    500: '#253b9a',
    950: '#000000',
  },
}
SCSS
$custom: #253b9a;
$custom-light: #7270b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253b9a",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 228.718,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.1569,
    "h": 268.2
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#253B9A
secondary
#BEAC5D
accent
#C643E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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