#253E99#253E99

#253E99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.152 H 267.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#253E99
RGBrgb(37, 62, 153)
HSLhsl(227, 61%, 37%)
HSVhsv(227, 76%, 60%)
CMYKcmyk(75.8%, 59.5%, 0%, 40%)
CIE-LABlab(29.76, 24.00, -52.51)
CIE-LCHlch(29.76, 57.74, 294.57°)
OKLaboklab(40.35% -0.007 -0.1516)
OKLCHoklch(40.35% 0.152 267.4)
XYZxyz(8.2333, 6.1376, 30.8816)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E99 #998025
analogous
#257899 #253E99 #462599
triadic
#253E99 #99253E #3E9925
tetradic
#253E99 #992578 #998025 #259946
square
#253E99 #992578 #998025 #259946
split-complementary
#253E99 #994625 #789925
monochromatic
#0D1636 #192A68 #253E99 #3152CA #607AD9

Accessibility & contrast

On white

9.43
#253E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#253E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E99
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E99#FFFFFF#000000##FFFFFF
##253E991.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253e99;
/* rgb */ color: rgb(37, 62, 153);
/* oklch */ color: oklch(40.4% 0.152 267.4);
Tailwind
colors: {
  custom: {
    50: '#7172b8',
    500: '#253e99',
    950: '#000000',
  },
}
SCSS
$custom: #253e99;
$custom-light: #7172b8;
$custom-dark: #000000;
JSON
{
  "hex": "#253e99",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 227.069,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40351,
    "c": 0.15173,
    "h": 267.4
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#253E99
secondary
#BEA95C
accent
#C244E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253E99

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

Preview Lab → · Contrast checker → · Palette generator →

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