#253C9D#253C9D

#253C9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.160 H 268.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#253C9D
RGBrgb(37, 60, 157)
HSLhsl(229, 62%, 38%)
HSVhsv(229, 76%, 62%)
CMYKcmyk(76.4%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.56, 26.89, -55.27)
CIE-LCHlch(29.56, 61.46, 295.94°)
OKLaboklab(40.31% -0.0055 -0.1597)
OKLCHoklch(40.31% 0.16 268)
XYZxyz(8.4625, 6.0584, 32.6151)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C9D #9D8625
analogous
#25789D #253C9D #4A259D
triadic
#253C9D #9D253C #3C9D25
tetradic
#253C9D #9D2578 #9D8625 #259D4A
square
#253C9D #9D2578 #9D8625 #259D4A
split-complementary
#253C9D #9D4A25 #789D25
monochromatic
#0E163A #19296B #253C9D #314FCE #6279DA

Accessibility & contrast

On white

9.49
#253C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C9D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C9D#FFFFFF#000000##FFFFFF
##253C9D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253c9d;
/* rgb */ color: rgb(37, 60, 157);
/* oklch */ color: oklch(40.3% 0.160 268.0);
Tailwind
colors: {
  custom: {
    50: '#7271bb',
    500: '#253c9d',
    950: '#000000',
  },
}
SCSS
$custom: #253c9d;
$custom-light: #7271bb;
$custom-dark: #000000;
JSON
{
  "hex": "#253c9d",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 228.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40309,
    "c": 0.15978,
    "h": 268
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#253C9D
secondary
#BFAD5E
accent
#C643E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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