#253E9B#253E9B

#253E9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.155 H 267.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#253E9B
RGBrgb(37, 62, 155)
HSLhsl(227, 61%, 38%)
HSVhsv(227, 76%, 61%)
CMYKcmyk(76.1%, 60%, 0%, 39.2%)
CIE-LABlab(29.92, 24.78, -53.46)
CIE-LCHlch(29.92, 58.92, 294.86°)
OKLaboklab(40.53% -0.0069 -0.1544)
OKLCHoklch(40.53% 0.155 267.4)
XYZxyz(8.3999, 6.2042, 31.7588)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E9B #9B8225
analogous
#25799B #253E9B #47259B
triadic
#253E9B #9B253E #3E9B25
tetradic
#253E9B #9B2579 #9B8225 #259B47
square
#253E9B #9B2579 #9B8225 #259B47
split-complementary
#253E9B #9B4725 #799B25
monochromatic
#0D1638 #192A6A #253E9B #3152CC #617BD9

Accessibility & contrast

On white

9.37
#253E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253E9B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E9B#FFFFFF#000000##FFFFFF
##253E9B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #253e9b;
/* rgb */ color: rgb(37, 62, 155);
/* oklch */ color: oklch(40.5% 0.155 267.4);
Tailwind
colors: {
  custom: {
    50: '#7272b9',
    500: '#253e9b',
    950: '#000000',
  },
}
SCSS
$custom: #253e9b;
$custom-light: #7272b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253e9b",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 227.288,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.15452,
    "h": 267.4
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#253E9B
secondary
#BFAA5D
accent
#C243E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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