#253C96#253C96

#253C96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.150 H 267.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#253C96
RGBrgb(37, 60, 150)
HSLhsl(228, 60%, 37%)
HSVhsv(228, 75%, 59%)
CMYKcmyk(75.3%, 60%, 0%, 41.2%)
CIE-LABlab(28.97, 24.20, -51.96)
CIE-LCHlch(28.97, 57.33, 294.98°)
OKLaboklab(39.69% -0.0056 -0.15)
OKLCHoklch(39.69% 0.15 267.9)
XYZxyz(7.8819, 5.8262, 29.5574)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C96 #967F25
analogous
#257596 #253C96 #472596
triadic
#253C96 #96253C #3C9625
tetradic
#253C96 #962575 #967F25 #259647
square
#253C96 #962575 #967F25 #259647
split-complementary
#253C96 #964725 #759625
monochromatic
#0D1534 #192865 #253C96 #3150C7 #5E77D7

Accessibility & contrast

On white

9.70
#253C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#253C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C96
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C96#FFFFFF#000000##FFFFFF
##253C961.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253c96;
/* rgb */ color: rgb(37, 60, 150);
/* oklch */ color: oklch(39.7% 0.150 267.9);
Tailwind
colors: {
  custom: {
    50: '#7171b6',
    500: '#253c96',
    950: '#000000',
  },
}
SCSS
$custom: #253c96;
$custom-light: #7171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253c96",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 227.788,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.15009,
    "h": 267.9
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253C96

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

Preview Lab → · Contrast checker → · Palette generator →

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