#253D99#253D99

#253D99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.153 H 267.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#253D99
RGBrgb(37, 61, 153)
HSLhsl(228, 61%, 37%)
HSVhsv(228, 76%, 60%)
CMYKcmyk(75.8%, 60.1%, 0%, 40%)
CIE-LABlab(29.49, 24.68, -52.95)
CIE-LCHlch(29.49, 58.42, 294.99°)
OKLaboklab(40.15% -0.0062 -0.1529)
OKLCHoklch(40.15% 0.153 267.7)
XYZxyz(8.1795, 6.0298, 30.8636)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D99 #998125
analogous
#257799 #253D99 #472599
triadic
#253D99 #99253D #3D9925
tetradic
#253D99 #992577 #998125 #259947
square
#253D99 #992577 #998125 #259947
split-complementary
#253D99 #994725 #779925
monochromatic
#0D1636 #192968 #253D99 #3151CA #6079D9

Accessibility & contrast

On white

9.52
#253D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D99
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D99#FFFFFF#000000##FFFFFF
##253D991.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253d99;
/* rgb */ color: rgb(37, 61, 153);
/* oklch */ color: oklch(40.2% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#7172b8',
    500: '#253d99',
    950: '#000000',
  },
}
SCSS
$custom: #253d99;
$custom-light: #7172b8;
$custom-dark: #000000;
JSON
{
  "hex": "#253d99",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 227.586,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.153,
    "h": 267.7
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253D99

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

Preview Lab → · Contrast checker → · Palette generator →

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