#253D9E#253D9E

#253D9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.160 H 267.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#253D9E
RGBrgb(37, 61, 158)
HSLhsl(228, 62%, 38%)
HSVhsv(228, 77%, 62%)
CMYKcmyk(76.6%, 61.4%, 0%, 38%)
CIE-LABlab(29.91, 26.60, -55.31)
CIE-LCHlch(29.91, 61.37, 295.69°)
OKLaboklab(40.59% -0.0062 -0.1598)
OKLCHoklch(40.59% 0.16 267.8)
XYZxyz(8.6011, 6.1985, 33.0842)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D9E #9E8625
analogous
#25799E #253D9E #49259E
triadic
#253D9E #9E253D #3D9E25
tetradic
#253D9E #9E2579 #9E8625 #259E49
square
#253D9E #9E2579 #9E8625 #259E49
split-complementary
#253D9E #9E4925 #799E25
monochromatic
#0E173B #192A6C #253D9E #3151CF #637BDA

Accessibility & contrast

On white

9.38
#253D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#253D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D9E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D9E#FFFFFF#000000##FFFFFF
##253D9E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253d9e;
/* rgb */ color: rgb(37, 61, 158);
/* oklch */ color: oklch(40.6% 0.160 267.8);
Tailwind
colors: {
  custom: {
    50: '#7372bb',
    500: '#253d9e',
    950: '#000000',
  },
}
SCSS
$custom: #253d9e;
$custom-light: #7372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#253d9e",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 228.099,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.1599,
    "h": 267.8
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#253D9E
secondary
#C0AD5F
accent
#C543E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #253D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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