#253159#253159

#253159 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.073 H 269.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#253159
RGBrgb(37, 49, 89)
HSLhsl(226, 41%, 25%)
HSVhsv(226, 58%, 35%)
CMYKcmyk(58.4%, 44.9%, 0%, 65.1%)
CIE-LABlab(21.25, 8.35, -25.70)
CIE-LCHlch(21.25, 27.02, 288.00°)
OKLaboklab(32.41% -0.0007 -0.0729)
OKLCHoklch(32.41% 0.073 269.4)
XYZxyz(3.6638, 3.3109, 9.8953)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253159 #594D25
analogous
#254B59 #253159 #332559
triadic
#253159 #592531 #315925
tetradic
#253159 #59254B #594D25 #255933
square
#253159 #59254B #594D25 #255933
split-complementary
#253159 #593325 #4B5925
monochromatic
#090C16 #13192E #253159 #374984 #4961AF

Accessibility & contrast

On white

12.63
#253159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#253159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253159
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253159#FFFFFF#000000##FFFFFF
##2531591.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355B
Deuteranopia (green-blind)
#1A3158
Tritanopia (blue-blind)
#0A3A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #253159;
/* rgb */ color: rgb(37, 49, 89);
/* oklch */ color: oklch(32.4% 0.073 269.4);
Tailwind
colors: {
  custom: {
    50: '#646888',
    500: '#253159',
    950: '#000000',
  },
}
SCSS
$custom: #253159;
$custom-light: #646888;
$custom-dark: #000000;
JSON
{
  "hex": "#253159",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 226.154,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.07293,
    "h": 269.4
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#253159
secondary
#8C7E4D
accent
#B557D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #253159

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

Preview Lab → · Contrast checker → · Palette generator →

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