#253182#253182

#253182 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.136 H 271.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#253182
RGBrgb(37, 49, 130)
HSLhsl(232, 56%, 33%)
HSVhsv(232, 72%, 51%)
CMYKcmyk(71.5%, 62.3%, 0%, 49%)
CIE-LABlab(24.33, 24.04, -47.14)
CIE-LCHlch(24.33, 52.92, 297.01°)
OKLaboklab(35.71% 0.003 -0.136)
OKLCHoklch(35.71% 0.136 271.3)
XYZxyz(5.8892, 4.2011, 21.6153)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253182 #827625
analogous
#255F82 #253182 #472582
triadic
#253182 #822531 #318225
tetradic
#253182 #82255F #827625 #258247
square
#253182 #82255F #827625 #258247
split-complementary
#253182 #824725 #5F8225
monochromatic
#0A0D23 #171F52 #253182 #3343B2 #5363CE

Accessibility & contrast

On white

11.41
#253182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#253182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253182
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253182#FFFFFF#000000##FFFFFF
##2531821.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253182;
/* rgb */ color: rgb(37, 49, 130);
/* oklch */ color: oklch(35.7% 0.136 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d69a7',
    500: '#253182',
    950: '#000000',
  },
}
SCSS
$custom: #253182;
$custom-light: #6d69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253182",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 232.258,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.136,
    "h": 271.3
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#253182
secondary
#B2A650
accent
#CC49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #253182

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

Preview Lab → · Contrast checker → · Palette generator →

#253182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva