#253E8D#253E8D

#253E8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.135 H 266.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#253E8D
RGBrgb(37, 62, 141)
HSLhsl(226, 58%, 35%)
HSVhsv(226, 74%, 55%)
CMYKcmyk(73.8%, 56%, 0%, 44.7%)
CIE-LABlab(28.80, 19.35, -46.71)
CIE-LCHlch(28.80, 50.56, 292.50°)
OKLaboklab(39.33% -0.0076 -0.1345)
OKLCHoklch(39.33% 0.135 266.8)
XYZxyz(7.2916, 5.7609, 25.9218)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E8D #8D7425
analogous
#25728D #253E8D #40258D
triadic
#253E8D #8D253E #3E8D25
tetradic
#253E8D #8D2572 #8D7425 #258D40
square
#253E8D #8D2572 #8D7425 #258D40
split-complementary
#253E8D #8D4025 #728D25
monochromatic
#0C132C #18295D #253E8D #3253BD #5976D3

Accessibility & contrast

On white

9.76
#253E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#253E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E8D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E8D#FFFFFF#000000##FFFFFF
##253E8D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253e8d;
/* rgb */ color: rgb(37, 62, 141);
/* oklch */ color: oklch(39.3% 0.135 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e72af',
    500: '#253e8d',
    950: '#000000',
  },
}
SCSS
$custom: #253e8d;
$custom-light: #6e72af;
$custom-dark: #000000;
JSON
{
  "hex": "#253e8d",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 225.577,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.13473,
    "h": 266.8
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#253E8D
secondary
#B8A056
accent
#BC46E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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