#253C82#253C82

#253C82 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.121 H 266.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#253C82
RGBrgb(37, 60, 130)
HSLhsl(225, 56%, 33%)
HSVhsv(225, 72%, 51%)
CMYKcmyk(71.5%, 53.8%, 0%, 49%)
CIE-LABlab(27.40, 16.43, -42.16)
CIE-LCHlch(27.40, 45.25, 291.29°)
OKLaboklab(38.01% -0.0067 -0.1212)
OKLCHoklch(38.01% 0.121 266.8)
XYZxyz(6.4067, 5.2361, 21.7878)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C82 #826B25
analogous
#256B82 #253C82 #3C2582
triadic
#253C82 #82253C #3C8225
tetradic
#253C82 #82256B #826B25 #25823C
square
#253C82 #82256B #826B25 #25823C
split-complementary
#253C82 #823C25 #6B8225
monochromatic
#0A1023 #172652 #253C82 #3352B2 #5372CE

Accessibility & contrast

On white

10.26
#253C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C82
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C82#FFFFFF#000000##FFFFFF
##253C821.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253c82;
/* rgb */ color: rgb(37, 60, 130);
/* oklch */ color: oklch(38.0% 0.121 266.8);
Tailwind
colors: {
  custom: {
    50: '#6c71a7',
    500: '#253c82',
    950: '#000000',
  },
}
SCSS
$custom: #253c82;
$custom-light: #6c71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253c82",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 225.161,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.12135,
    "h": 266.8
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#253C82
secondary
#B29A50
accent
#BA49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #253C82

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

Preview Lab → · Contrast checker → · Palette generator →

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