#253E96#253E96

#253E96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.148 H 267.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#253E96
RGBrgb(37, 62, 150)
HSLhsl(227, 60%, 37%)
HSVhsv(227, 75%, 59%)
CMYKcmyk(75.3%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.51, 22.85, -51.08)
CIE-LCHlch(29.51, 55.96, 294.10°)
OKLaboklab(40.09% -0.0071 -0.1474)
OKLCHoklch(40.09% 0.148 267.2)
XYZxyz(7.9887, 6.0397, 29.5930)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E96 #967D25
analogous
#257796 #253E96 #452596
triadic
#253E96 #96253E #3E9625
tetradic
#253E96 #962577 #967D25 #259645
square
#253E96 #962577 #967D25 #259645
split-complementary
#253E96 #964525 #779625
monochromatic
#0D1534 #192A65 #253E96 #3152C7 #5E79D7

Accessibility & contrast

On white

9.51
#253E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#253E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E96
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E96#FFFFFF#000000##FFFFFF
##253E961.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253e96;
/* rgb */ color: rgb(37, 62, 150);
/* oklch */ color: oklch(40.1% 0.148 267.2);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#253e96',
    950: '#000000',
  },
}
SCSS
$custom: #253e96;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253e96",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 226.726,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.14753,
    "h": 267.2
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#253E96
secondary
#BCA75B
accent
#C044E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253E96

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

Preview Lab → · Contrast checker → · Palette generator →

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