#253EA7#253EA7

#253EA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.171 H 267.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#253EA7
RGBrgb(37, 62, 167)
HSLhsl(228, 64%, 40%)
HSVhsv(228, 78%, 65%)
CMYKcmyk(77.8%, 62.9%, 0%, 34.5%)
CIE-LABlab(30.94, 29.36, -59.05)
CIE-LCHlch(30.94, 65.94, 296.44°)
OKLaboklab(41.6% -0.0069 -0.1707)
OKLCHoklch(41.6% 0.171 267.7)
XYZxyz(9.4582, 6.6275, 37.3325)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253EA7 #A78E25
analogous
#257FA7 #253EA7 #4D25A7
triadic
#253EA7 #A7253E #3EA725
tetradic
#253EA7 #A7257F #A78E25 #25A74D
square
#253EA7 #A7257F #A78E25 #25A74D
split-complementary
#253EA7 #A74D25 #7FA725
monochromatic
#0F1943 #1A2B75 #253EA7 #3755D3 #697FDE

Accessibility & contrast

On white

9.03
#253EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253EA7
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253EA7#FFFFFF#000000##FFFFFF
##253EA71.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #253ea7;
/* rgb */ color: rgb(37, 62, 167);
/* oklch */ color: oklch(41.6% 0.171 267.7);
Tailwind
colors: {
  custom: {
    50: '#7573c2',
    500: '#253ea7',
    950: '#000000',
  },
}
SCSS
$custom: #253ea7;
$custom-light: #7573c2;
$custom-dark: #000000;
JSON
{
  "hex": "#253ea7",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 228.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.17087,
    "h": 267.7
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#253EA7
secondary
#C4B164
accent
#C741E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #253EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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