#253197#253197

#253197 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.165 H 270.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#253197
RGBrgb(37, 49, 151)
HSLhsl(234, 61%, 37%)
HSVhsv(234, 75%, 59%)
CMYKcmyk(75.5%, 67.5%, 0%, 40.8%)
CIE-LABlab(26.23, 31.93, -57.06)
CIE-LCHlch(26.23, 65.39, 299.23°)
OKLaboklab(37.69% 0.002 -0.165)
OKLCHoklch(37.69% 0.165 270.7)
XYZxyz(7.4453, 4.8235, 29.8108)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253197 #978B25
analogous
#256A97 #253197 #522597
triadic
#253197 #972531 #319725
tetradic
#253197 #97256A #978B25 #259752
square
#253197 #97256A #978B25 #259752
split-complementary
#253197 #975225 #6A9725
monochromatic
#0D1135 #192166 #253197 #3141C8 #5F6BD8

Accessibility & contrast

On white

10.69
#253197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#253197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253197
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253197#FFFFFF#000000##FFFFFF
##2531971.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253197;
/* rgb */ color: rgb(37, 49, 151);
/* oklch */ color: oklch(37.7% 0.165 270.7);
Tailwind
colors: {
  custom: {
    50: '#7269b7',
    500: '#253197',
    950: '#000000',
  },
}
SCSS
$custom: #253197;
$custom-light: #7269b7;
$custom-dark: #000000;
JSON
{
  "hex": "#253197",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 233.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37689,
    "c": 0.16505,
    "h": 270.7
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#253197
secondary
#BDB25B
accent
#D344E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253197

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

Preview Lab → · Contrast checker → · Palette generator →

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