#253D96#253D96

#253D96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.149 H 267.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#253D96
RGBrgb(37, 61, 150)
HSLhsl(227, 60%, 37%)
HSVhsv(227, 75%, 59%)
CMYKcmyk(75.3%, 59.3%, 0%, 41.2%)
CIE-LABlab(29.24, 23.52, -51.52)
CIE-LCHlch(29.24, 56.64, 294.54°)
OKLaboklab(39.89% -0.0063 -0.1487)
OKLCHoklch(39.89% 0.149 267.6)
XYZxyz(7.9348, 5.9320, 29.5750)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D96 #967E25
analogous
#257696 #253D96 #462596
triadic
#253D96 #96253D #3D9625
tetradic
#253D96 #962576 #967E25 #259646
square
#253D96 #962576 #967E25 #259646
split-complementary
#253D96 #964625 #769625
monochromatic
#0D1534 #192965 #253D96 #3151C7 #5E78D7

Accessibility & contrast

On white

9.60
#253D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#253D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D96
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D96#FFFFFF#000000##FFFFFF
##253D961.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253d96;
/* rgb */ color: rgb(37, 61, 150);
/* oklch */ color: oklch(39.9% 0.149 267.6);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#253d96',
    950: '#000000',
  },
}
SCSS
$custom: #253d96;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253d96",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 227.257,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.14881,
    "h": 267.6
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#253D96
secondary
#BCA85B
accent
#C244E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253D96

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

Preview Lab → · Contrast checker → · Palette generator →

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