#253DA8#253DA8

#253DA8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.173 H 267.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#253DA8
RGBrgb(37, 61, 168)
HSLhsl(229, 64%, 40%)
HSVhsv(229, 78%, 66%)
CMYKcmyk(78%, 63.7%, 0%, 34.1%)
CIE-LABlab(30.78, 30.40, -59.92)
CIE-LCHlch(30.78, 67.19, 296.90°)
OKLaboklab(41.51% -0.0063 -0.1733)
OKLCHoklch(41.51% 0.173 267.9)
XYZxyz(9.4971, 6.5569, 37.8033)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253DA8 #A89025
analogous
#257EA8 #253DA8 #4F25A8
triadic
#253DA8 #A8253D #3DA825
tetradic
#253DA8 #A8257E #A89025 #25A84F
square
#253DA8 #A8257E #A89025 #25A84F
split-complementary
#253DA8 #A84F25 #7EA825
monochromatic
#0F1944 #1A2B76 #253DA8 #3754D3 #697FDE

Accessibility & contrast

On white

9.08
#253DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#253DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253DA8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253DA8#FFFFFF#000000##FFFFFF
##253DA81.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253da8;
/* rgb */ color: rgb(37, 61, 168);
/* oklch */ color: oklch(41.5% 0.173 267.9);
Tailwind
colors: {
  custom: {
    50: '#7572c3',
    500: '#253da8',
    950: '#000000',
  },
}
SCSS
$custom: #253da8;
$custom-light: #7572c3;
$custom-dark: #000000;
JSON
{
  "hex": "#253da8",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 229.008,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.17342,
    "h": 267.9
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#253DA8
secondary
#C4B365
accent
#C841E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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