#253E9D#253E9D

#253E9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.157 H 267.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#253E9D
RGBrgb(37, 62, 157)
HSLhsl(228, 62%, 38%)
HSVhsv(228, 76%, 62%)
CMYKcmyk(76.4%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.09, 25.55, -54.40)
CIE-LCHlch(30.09, 60.10, 295.15°)
OKLaboklab(40.7% -0.0069 -0.1571)
OKLCHoklch(40.7% 0.157 267.5)
XYZxyz(8.5693, 6.2719, 32.6507)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E9D #9D8425
analogous
#257A9D #253E9D #48259D
triadic
#253E9D #9D253E #3E9D25
tetradic
#253E9D #9D257A #9D8425 #259D48
square
#253E9D #9D257A #9D8425 #259D48
split-complementary
#253E9D #9D4825 #7A9D25
monochromatic
#0E173A #192A6B #253E9D #3152CE #627BDA

Accessibility & contrast

On white

9.31
#253E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#253E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E9D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E9D#FFFFFF#000000##FFFFFF
##253E9D1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253e9d;
/* rgb */ color: rgb(37, 62, 157);
/* oklch */ color: oklch(40.7% 0.157 267.5);
Tailwind
colors: {
  custom: {
    50: '#7273bb',
    500: '#253e9d',
    950: '#000000',
  },
}
SCSS
$custom: #253e9d;
$custom-light: #7273bb;
$custom-dark: #000000;
JSON
{
  "hex": "#253e9d",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 227.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.15727,
    "h": 267.5
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#253E9D
secondary
#BFAB5E
accent
#C343E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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