#253195#253195

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

Color values

HEX#253195
RGBrgb(37, 49, 149)
HSLhsl(234, 60%, 36%)
HSVhsv(234, 75%, 58%)
CMYKcmyk(75.2%, 67.1%, 0%, 41.6%)
CIE-LABlab(26.04, 31.19, -56.15)
CIE-LCHlch(26.04, 64.23, 299.05°)
OKLaboklab(37.49% 0.0021 -0.1624)
OKLCHoklch(37.49% 0.162 270.7)
XYZxyz(7.2842, 4.7591, 28.9626)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253195 #958925
analogous
#256995 #253195 #512595
triadic
#253195 #952531 #319525
tetradic
#253195 #952569 #958925 #259551
square
#253195 #952569 #958925 #259551
split-complementary
#253195 #955125 #699525
monochromatic
#0D1133 #192164 #253195 #3141C6 #5E6BD7

Accessibility & contrast

On white

10.76
#253195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#253195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253195
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253195#FFFFFF#000000##FFFFFF
##2531951.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253195;
/* rgb */ color: rgb(37, 49, 149);
/* oklch */ color: oklch(37.5% 0.162 270.7);
Tailwind
colors: {
  custom: {
    50: '#7169b5',
    500: '#253195',
    950: '#000000',
  },
}
SCSS
$custom: #253195;
$custom-light: #7169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#253195",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 233.571,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.16237,
    "h": 270.7
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#253195
secondary
#BCB15A
accent
#D244E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253195

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

Preview Lab → · Contrast checker → · Palette generator →

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