#253AB1#253AB1

#253AB1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.189 H 268.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#253AB1
RGBrgb(37, 58, 177)
HSLhsl(231, 65%, 42%)
HSVhsv(231, 79%, 69%)
CMYKcmyk(79.1%, 67.2%, 0%, 30.6%)
CIE-LABlab(30.86, 35.69, -65.16)
CIE-LCHlch(30.86, 74.30, 298.71°)
OKLaboklab(41.82% -0.005 -0.1887)
OKLCHoklch(41.82% 0.189 268.5)
XYZxyz(10.2091, 6.5926, 42.3209)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253AB1 #B19C25
analogous
#2580B1 #253AB1 #5625B1
triadic
#253AB1 #B1253A #3AB125
tetradic
#253AB1 #B12580 #B19C25 #25B156
square
#253AB1 #B12580 #B19C25 #25B156
split-complementary
#253AB1 #B15625 #80B125
monochromatic
#10194C #1A297E #253AB1 #3D54D6 #6F80E1

Accessibility & contrast

On white

9.06
#253AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#253AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253AB1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253AB1#FFFFFF#000000##FFFFFF
##253AB11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #253ab1;
/* rgb */ color: rgb(37, 58, 177);
/* oklch */ color: oklch(41.8% 0.189 268.5);
Tailwind
colors: {
  custom: {
    50: '#7870c9',
    500: '#253ab1',
    950: '#000000',
  },
}
SCSS
$custom: #253ab1;
$custom-light: #7870c9;
$custom-dark: #000000;
JSON
{
  "hex": "#253ab1",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 231,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.18874,
    "h": 268.5
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#253AB1
secondary
#C8BA6A
accent
#CF3FE8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #253AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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