#253E82#253E82

#253E82 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.5% C 0.119 H 265.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#253E82
RGBrgb(37, 62, 130)
HSLhsl(224, 56%, 33%)
HSVhsv(224, 72%, 51%)
CMYKcmyk(71.5%, 52.3%, 0%, 49%)
CIE-LABlab(27.98, 15.04, -41.22)
CIE-LCHlch(27.98, 43.88, 290.05°)
OKLaboklab(38.45% -0.0086 -0.1184)
OKLCHoklch(38.45% 0.119 265.8)
XYZxyz(6.5134, 5.4496, 21.8234)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E82 #826925
analogous
#256C82 #253E82 #3A2582
triadic
#253E82 #82253E #3E8225
tetradic
#253E82 #82256C #826925 #25823A
square
#253E82 #82256C #826925 #25823A
split-complementary
#253E82 #823A25 #6C8225
monochromatic
#0A1123 #172752 #253E82 #3355B2 #5374CE

Accessibility & contrast

On white

10.05
#253E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E82
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E82#FFFFFF#000000##FFFFFF
##253E821.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164784
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253e82;
/* rgb */ color: rgb(37, 62, 130);
/* oklch */ color: oklch(38.5% 0.119 265.8);
Tailwind
colors: {
  custom: {
    50: '#6c72a7',
    500: '#253e82',
    950: '#000000',
  },
}
SCSS
$custom: #253e82;
$custom-light: #6c72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253e82",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 223.871,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.11867,
    "h": 265.8
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#253E82
secondary
#B29850
accent
#B749DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #253E82

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

Preview Lab → · Contrast checker → · Palette generator →

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