#253292#253292

#253292 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.157 H 270.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#253292
RGBrgb(37, 50, 146)
HSLhsl(233, 60%, 36%)
HSVhsv(233, 75%, 57%)
CMYKcmyk(74.7%, 65.8%, 0%, 42.7%)
CIE-LABlab(26.01, 29.41, -54.35)
CIE-LCHlch(26.01, 61.80, 298.42°)
OKLaboklab(37.39% 0.0017 -0.1571)
OKLCHoklch(37.39% 0.157 270.6)
XYZxyz(7.0901, 4.7491, 27.7316)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253292 #928525
analogous
#256892 #253292 #4E2592
triadic
#253292 #922532 #329225
tetradic
#253292 #922568 #928525 #25924E
square
#253292 #922568 #928525 #25924E
split-complementary
#253292 #924E25 #689225
monochromatic
#0C1130 #192161 #253292 #3143C3 #5C6AD6

Accessibility & contrast

On white

10.77
#253292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#253292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253292
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253292#FFFFFF#000000##FFFFFF
##2532921.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253292;
/* rgb */ color: rgb(37, 50, 146);
/* oklch */ color: oklch(37.4% 0.157 270.6);
Tailwind
colors: {
  custom: {
    50: '#716ab3',
    500: '#253292',
    950: '#000000',
  },
}
SCSS
$custom: #253292;
$custom-light: #716ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#253292",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 232.844,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37387,
    "c": 0.1571,
    "h": 270.6
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#253292
secondary
#BAAF58
accent
#D045E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253292

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

Preview Lab → · Contrast checker → · Palette generator →

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