#253158#253158

#253158 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.071 H 269.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#253158
RGBrgb(37, 49, 88)
HSLhsl(226, 41%, 25%)
HSVhsv(226, 58%, 35%)
CMYKcmyk(58%, 44.3%, 0%, 65.5%)
CIE-LABlab(21.19, 7.97, -25.14)
CIE-LCHlch(21.19, 26.37, 287.60°)
OKLaboklab(32.34% -0.0009 -0.0713)
OKLCHoklch(32.34% 0.071 269.2)
XYZxyz(3.6221, 3.2943, 9.6756)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253158 #584C25
analogous
#254B58 #253158 #332558
triadic
#253158 #582531 #315825
tetradic
#253158 #58254B #584C25 #255833
square
#253158 #58254B #584C25 #255833
split-complementary
#253158 #583325 #4B5825
monochromatic
#090C16 #13192D #253158 #374983 #4961AE

Accessibility & contrast

On white

12.66
#253158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253158
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253158#FFFFFF#000000##FFFFFF
##2531581.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21355A
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#0B3940
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #253158;
/* rgb */ color: rgb(37, 49, 88);
/* oklch */ color: oklch(32.3% 0.071 269.2);
Tailwind
colors: {
  custom: {
    50: '#646887',
    500: '#253158',
    950: '#000000',
  },
}
SCSS
$custom: #253158;
$custom-light: #646887;
$custom-dark: #000000;
JSON
{
  "hex": "#253158",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 225.882,
    "s": 40.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.0713,
    "h": 269.2
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#253158
secondary
#8B7D4D
accent
#B457D1
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #253158

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

Preview Lab → · Contrast checker → · Palette generator →

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