#253E8A#253E8A

#253E8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.130 H 266.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#253E8A
RGBrgb(37, 62, 138)
HSLhsl(225, 58%, 34%)
HSVhsv(225, 73%, 54%)
CMYKcmyk(73.2%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.57, 18.17, -45.23)
CIE-LCHlch(28.57, 48.75, 291.89°)
OKLaboklab(39.09% -0.0078 -0.1302)
OKLCHoklch(39.09% 0.13 266.6)
XYZxyz(7.0714, 5.6728, 24.7621)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E8A #8A7125
analogous
#25708A #253E8A #3F258A
triadic
#253E8A #8A253E #3E8A25
tetradic
#253E8A #8A2570 #8A7125 #258A3F
square
#253E8A #8A2570 #8A7125 #258A3F
split-complementary
#253E8A #8A3F25 #708A25
monochromatic
#0B1329 #18285A #253E8A #3254BA #5776D2

Accessibility & contrast

On white

9.84
#253E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E8A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E8A#FFFFFF#000000##FFFFFF
##253E8A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253e8a;
/* rgb */ color: rgb(37, 62, 138);
/* oklch */ color: oklch(39.1% 0.130 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e72ad',
    500: '#253e8a',
    950: '#000000',
  },
}
SCSS
$custom: #253e8a;
$custom-light: #6e72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253e8a",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 225.149,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.13039,
    "h": 266.6
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#253E8A
secondary
#B79E54
accent
#BB47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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