#253E88#253E88

#253E88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.127 H 266.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#253E88
RGBrgb(37, 62, 136)
HSLhsl(225, 57%, 34%)
HSVhsv(225, 73%, 53%)
CMYKcmyk(72.8%, 54.4%, 0%, 46.7%)
CIE-LABlab(28.42, 17.39, -44.24)
CIE-LCHlch(28.42, 47.53, 291.46°)
OKLaboklab(38.93% -0.008 -0.1272)
OKLCHoklch(38.93% 0.127 266.4)
XYZxyz(6.9280, 5.6154, 24.0066)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E88 #886F25
analogous
#257088 #253E88 #3E2588
triadic
#253E88 #88253E #3E8825
tetradic
#253E88 #882570 #886F25 #25883E
square
#253E88 #882570 #886F25 #25883E
split-complementary
#253E88 #883E25 #708825
monochromatic
#0B1228 #182858 #253E88 #3254B8 #5675D1

Accessibility & contrast

On white

9.89
#253E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#253E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E88
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E88#FFFFFF#000000##FFFFFF
##253E881.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253e88;
/* rgb */ color: rgb(37, 62, 136);
/* oklch */ color: oklch(38.9% 0.127 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d72ab',
    500: '#253e88',
    950: '#000000',
  },
}
SCSS
$custom: #253e88;
$custom-light: #6d72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253e88",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 224.848,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38926,
    "c": 0.12749,
    "h": 266.4
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#253E88
secondary
#B69D53
accent
#BA47E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253E88

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

Preview Lab → · Contrast checker → · Palette generator →

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