#253B9E#253B9E

#253B9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.162 H 268.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#253B9E
RGBrgb(37, 59, 158)
HSLhsl(229, 62%, 38%)
HSVhsv(229, 77%, 62%)
CMYKcmyk(76.6%, 62.7%, 0%, 38%)
CIE-LABlab(29.38, 27.94, -56.16)
CIE-LCHlch(29.38, 62.73, 296.45°)
OKLaboklab(40.21% -0.0048 -0.1623)
OKLCHoklch(40.21% 0.162 268.3)
XYZxyz(8.4963, 5.9889, 33.0493)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B9E #9E8825
analogous
#25779E #253B9E #4B259E
triadic
#253B9E #9E253B #3B9E25
tetradic
#253B9E #9E2577 #9E8825 #259E4B
square
#253B9E #9E2577 #9E8825 #259E4B
split-complementary
#253B9E #9E4B25 #779E25
monochromatic
#0E163B #19286C #253B9E #314ECF #6379DA

Accessibility & contrast

On white

9.55
#253B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#253B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B9E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B9E#FFFFFF#000000##FFFFFF
##253B9E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253b9e;
/* rgb */ color: rgb(37, 59, 158);
/* oklch */ color: oklch(40.2% 0.162 268.3);
Tailwind
colors: {
  custom: {
    50: '#7370bc',
    500: '#253b9e',
    950: '#000000',
  },
}
SCSS
$custom: #253b9e;
$custom-light: #7370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#253b9e",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 229.091,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.16238,
    "h": 268.3
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#253B9E
secondary
#C0AE5F
accent
#C843E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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