#253199#253199

#253199 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.168 H 270.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#253199
RGBrgb(37, 49, 153)
HSLhsl(234, 61%, 37%)
HSVhsv(234, 76%, 60%)
CMYKcmyk(75.8%, 68%, 0%, 40%)
CIE-LABlab(26.42, 32.67, -57.98)
CIE-LCHlch(26.42, 66.55, 299.40°)
OKLaboklab(37.89% 0.0018 -0.1677)
OKLCHoklch(37.89% 0.168 270.6)
XYZxyz(7.6091, 4.8890, 30.6735)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253199 #998D25
analogous
#256B99 #253199 #532599
triadic
#253199 #992531 #319925
tetradic
#253199 #99256B #998D25 #259953
square
#253199 #99256B #998D25 #259953
split-complementary
#253199 #995325 #6B9925
monochromatic
#0D1136 #192168 #253199 #3141CA #606CD9

Accessibility & contrast

On white

10.62
#253199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253199
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253199#FFFFFF#000000##FFFFFF
##2531991.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253199;
/* rgb */ color: rgb(37, 49, 153);
/* oklch */ color: oklch(37.9% 0.168 270.6);
Tailwind
colors: {
  custom: {
    50: '#7269b8',
    500: '#253199',
    950: '#000000',
  },
}
SCSS
$custom: #253199;
$custom-light: #7269b8;
$custom-dark: #000000;
JSON
{
  "hex": "#253199",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 233.793,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.16772,
    "h": 270.6
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#253199
secondary
#BEB45C
accent
#D444E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253199

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

Preview Lab → · Contrast checker → · Palette generator →

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