#253EA1#253EA1

#253EA1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.163 H 267.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#253EA1
RGBrgb(37, 62, 161)
HSLhsl(228, 63%, 39%)
HSVhsv(228, 77%, 63%)
CMYKcmyk(77%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.43, 27.08, -56.28)
CIE-LCHlch(30.43, 62.45, 295.69°)
OKLaboklab(41.06% -0.0069 -0.1626)
OKLCHoklch(41.06% 0.163 267.6)
XYZxyz(8.9164, 6.4108, 34.4788)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253EA1 #A18825
analogous
#257CA1 #253EA1 #4A25A1
triadic
#253EA1 #A1253E #3EA125
tetradic
#253EA1 #A1257C #A18825 #25A14A
square
#253EA1 #A1257C #A18825 #25A14A
split-complementary
#253EA1 #A14A25 #7CA125
monochromatic
#0E183D #1A2B6F #253EA1 #3353D0 #657DDC

Accessibility & contrast

On white

9.20
#253EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#253EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253EA1
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253EA1#FFFFFF#000000##FFFFFF
##253EA11.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #253ea1;
/* rgb */ color: rgb(37, 62, 161);
/* oklch */ color: oklch(41.1% 0.163 267.6);
Tailwind
colors: {
  custom: {
    50: '#7373be',
    500: '#253ea1',
    950: '#000000',
  },
}
SCSS
$custom: #253ea1;
$custom-light: #7373be;
$custom-dark: #000000;
JSON
{
  "hex": "#253ea1",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 227.903,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.16276,
    "h": 267.6
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#253EA1
secondary
#C1AE61
accent
#C542E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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