#253184#253184

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

Color values

HEX#253184
RGBrgb(37, 49, 132)
HSLhsl(232, 56%, 33%)
HSVhsv(232, 72%, 52%)
CMYKcmyk(72%, 62.9%, 0%, 48.2%)
CIE-LABlab(24.50, 24.80, -48.12)
CIE-LCHlch(24.50, 54.13, 297.26°)
OKLaboklab(35.89% 0.003 -0.1388)
OKLCHoklch(35.89% 0.139 271.2)
XYZxyz(6.0247, 4.2553, 22.3292)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253184 #847825
analogous
#256084 #253184 #482584
triadic
#253184 #842531 #318425
tetradic
#253184 #842560 #847825 #258448
square
#253184 #842560 #847825 #258448
split-complementary
#253184 #844825 #608425
monochromatic
#0A0E24 #181F54 #253184 #3243B4 #5464CF

Accessibility & contrast

On white

11.34
#253184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#253184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253184
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253184#FFFFFF#000000##FFFFFF
##2531841.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253184;
/* rgb */ color: rgb(37, 49, 132);
/* oklch */ color: oklch(35.9% 0.139 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d69a9',
    500: '#253184',
    950: '#000000',
  },
}
SCSS
$custom: #253184;
$custom-light: #6d69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#253184",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 232.421,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.13886,
    "h": 271.2
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#253184
secondary
#B3A751
accent
#CC48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253184

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

Preview Lab → · Contrast checker → · Palette generator →

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