#253189#253189

#253189 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.146 H 271.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#253189
RGBrgb(37, 49, 137)
HSLhsl(233, 57%, 34%)
HSVhsv(233, 73%, 54%)
CMYKcmyk(73%, 64.2%, 0%, 46.3%)
CIE-LABlab(24.94, 26.70, -50.52)
CIE-LCHlch(24.94, 57.14, 297.85°)
OKLaboklab(36.35% 0.0028 -0.1459)
OKLCHoklch(36.35% 0.146 271.1)
XYZxyz(6.3751, 4.3954, 24.1745)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253189 #897D25
analogous
#256389 #253189 #4B2589
triadic
#253189 #892531 #318925
tetradic
#253189 #892563 #897D25 #25894B
square
#253189 #892563 #897D25 #25894B
split-complementary
#253189 #894B25 #638925
monochromatic
#0B0F29 #182059 #253189 #3242B9 #5766D2

Accessibility & contrast

On white

11.17
#253189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#253189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253189
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253189#FFFFFF#000000##FFFFFF
##2531891.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #253189;
/* rgb */ color: rgb(37, 49, 137);
/* oklch */ color: oklch(36.4% 0.146 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e69ac',
    500: '#253189',
    950: '#000000',
  },
}
SCSS
$custom: #253189;
$custom-light: #6e69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#253189",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 232.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3635,
    "c": 0.14592,
    "h": 271.1
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#253189
secondary
#B6AA54
accent
#CE47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253189

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

Preview Lab → · Contrast checker → · Palette generator →

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