#253282#253282

#253282 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.135 H 270.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#253282
RGBrgb(37, 50, 130)
HSLhsl(232, 56%, 33%)
HSVhsv(232, 72%, 51%)
CMYKcmyk(71.5%, 61.5%, 0%, 49%)
CIE-LABlab(24.59, 23.35, -46.71)
CIE-LCHlch(24.59, 52.22, 296.56°)
OKLaboklab(35.91% 0.0022 -0.1347)
OKLCHoklch(35.91% 0.135 270.9)
XYZxyz(5.9314, 4.2856, 21.6294)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253282 #827525
analogous
#256082 #253282 #462582
triadic
#253282 #822532 #328225
tetradic
#253282 #822560 #827525 #258246
square
#253282 #822560 #827525 #258246
split-complementary
#253282 #824625 #608225
monochromatic
#0A0D23 #172052 #253282 #3344B2 #5364CE

Accessibility & contrast

On white

11.31
#253282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#253282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253282
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253282#FFFFFF#000000##FFFFFF
##2532821.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253282;
/* rgb */ color: rgb(37, 50, 130);
/* oklch */ color: oklch(35.9% 0.135 270.9);
Tailwind
colors: {
  custom: {
    50: '#6d69a7',
    500: '#253282',
    950: '#000000',
  },
}
SCSS
$custom: #253282;
$custom-light: #6d69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253282",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 231.613,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35906,
    "c": 0.1347,
    "h": 270.9
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#253282
secondary
#B2A550
accent
#CA49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #253282

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

Preview Lab → · Contrast checker → · Palette generator →

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