#253188#253188

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

Color values

HEX#253188
RGBrgb(37, 49, 136)
HSLhsl(233, 57%, 34%)
HSVhsv(233, 73%, 53%)
CMYKcmyk(72.8%, 64%, 0%, 46.7%)
CIE-LABlab(24.85, 26.32, -50.04)
CIE-LCHlch(24.85, 56.54, 297.74°)
OKLaboklab(36.26% 0.0029 -0.1445)
OKLCHoklch(36.26% 0.145 271.1)
XYZxyz(6.3037, 4.3669, 23.7985)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253188 #887C25
analogous
#256388 #253188 #4B2588
triadic
#253188 #882531 #318825
tetradic
#253188 #882563 #887C25 #25884B
square
#253188 #882563 #887C25 #25884B
split-complementary
#253188 #884B25 #638825
monochromatic
#0B0E28 #182058 #253188 #3242B8 #5665D1

Accessibility & contrast

On white

11.21
#253188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#253188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253188
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253188#FFFFFF#000000##FFFFFF
##2531881.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #253188;
/* rgb */ color: rgb(37, 49, 136);
/* oklch */ color: oklch(36.3% 0.145 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e69ab',
    500: '#253188',
    950: '#000000',
  },
}
SCSS
$custom: #253188;
$custom-light: #6e69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253188",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 232.727,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36257,
    "c": 0.14451,
    "h": 271.1
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#253188
secondary
#B6AA53
accent
#CE47E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253188

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

Preview Lab → · Contrast checker → · Palette generator →

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