#253D82#253D82

#253D82 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.120 H 266.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#253D82
RGBrgb(37, 61, 130)
HSLhsl(225, 56%, 33%)
HSVhsv(225, 72%, 51%)
CMYKcmyk(71.5%, 53.1%, 0%, 49%)
CIE-LABlab(27.69, 15.74, -41.69)
CIE-LCHlch(27.69, 44.56, 290.68°)
OKLaboklab(38.23% -0.0077 -0.1198)
OKLCHoklch(38.23% 0.12 266.3)
XYZxyz(6.4596, 5.3419, 21.8054)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D82 #826A25
analogous
#256C82 #253D82 #3B2582
triadic
#253D82 #82253D #3D8225
tetradic
#253D82 #82256C #826A25 #25823B
square
#253D82 #82256C #826A25 #25823B
split-complementary
#253D82 #823B25 #6C8225
monochromatic
#0A1023 #172752 #253D82 #3353B2 #5373CE

Accessibility & contrast

On white

10.15
#253D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D82
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D82#FFFFFF#000000##FFFFFF
##253D821.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124684
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253d82;
/* rgb */ color: rgb(37, 61, 130);
/* oklch */ color: oklch(38.2% 0.120 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c72a7',
    500: '#253d82',
    950: '#000000',
  },
}
SCSS
$custom: #253d82;
$custom-light: #6c72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253d82",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 224.516,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38229,
    "c": 0.12001,
    "h": 266.3
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#253D82
secondary
#B29950
accent
#B849DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #253D82

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

Preview Lab → · Contrast checker → · Palette generator →

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