#253EA8#253EA8

#253EA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.172 H 267.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#253EA8
RGBrgb(37, 62, 168)
HSLhsl(229, 64%, 40%)
HSVhsv(229, 78%, 66%)
CMYKcmyk(78%, 63.1%, 0%, 34.1%)
CIE-LABlab(31.03, 29.74, -59.50)
CIE-LCHlch(31.03, 66.52, 296.55°)
OKLaboklab(41.69% -0.0069 -0.1721)
OKLCHoklch(41.69% 0.172 267.7)
XYZxyz(9.5510, 6.6646, 37.8212)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253EA8 #A88F25
analogous
#257FA8 #253EA8 #4E25A8
triadic
#253EA8 #A8253E #3EA825
tetradic
#253EA8 #A8257F #A88F25 #25A84E
square
#253EA8 #A8257F #A88F25 #25A84E
split-complementary
#253EA8 #A84E25 #7FA825
monochromatic
#0F1944 #1A2B76 #253EA8 #3755D3 #6980DE

Accessibility & contrast

On white

9.00
#253EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#253EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253EA8
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253EA8#FFFFFF#000000##FFFFFF
##253EA81.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #253ea8;
/* rgb */ color: rgb(37, 62, 168);
/* oklch */ color: oklch(41.7% 0.172 267.7);
Tailwind
colors: {
  custom: {
    50: '#7573c3',
    500: '#253ea8',
    950: '#000000',
  },
}
SCSS
$custom: #253ea8;
$custom-light: #7573c3;
$custom-dark: #000000;
JSON
{
  "hex": "#253ea8",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 228.55,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.17222,
    "h": 267.7
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#253EA8
secondary
#C4B265
accent
#C741E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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