#253151#253151

#253151 is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.9% C 0.060 H 267.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#253151
RGBrgb(37, 49, 81)
HSLhsl(224, 37%, 23%)
HSVhsv(224, 54%, 32%)
CMYKcmyk(54.3%, 39.5%, 0%, 68.2%)
CIE-LABlab(20.77, 5.40, -21.14)
CIE-LCHlch(20.77, 21.82, 284.32°)
OKLaboklab(31.88% -0.0027 -0.0596)
OKLCHoklch(31.88% 0.06 267.4)
XYZxyz(3.3460, 3.1838, 8.2212)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253151 #514525
analogous
#254751 #253151 #2F2551
triadic
#253151 #512531 #315125
tetradic
#253151 #512547 #514525 #25512F
square
#253151 #512547 #514525 #25512F
split-complementary
#253151 #512F25 #475125
monochromatic
#0A0D15 #121827 #253151 #384A7B #4B64A5

Accessibility & contrast

On white

12.83
#253151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#253151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253151
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253151#FFFFFF#000000##FFFFFF
##2531511.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253452
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#12383D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #253151;
/* rgb */ color: rgb(37, 49, 81);
/* oklch */ color: oklch(31.9% 0.060 267.4);
Tailwind
colors: {
  custom: {
    50: '#636882',
    500: '#253151',
    950: '#000000',
  },
}
SCSS
$custom: #253151;
$custom-light: #636882;
$custom-dark: #000000;
JSON
{
  "hex": "#253151",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 223.636,
    "s": 37.288,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3188,
    "c": 0.05969,
    "h": 267.4
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#253151
secondary
#84754E
accent
#AE5BCD
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #253151

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

Preview Lab → · Contrast checker → · Palette generator →

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