#253152#253152

#253152 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.061 H 267.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#253152
RGBrgb(37, 49, 82)
HSLhsl(224, 38%, 23%)
HSVhsv(224, 55%, 32%)
CMYKcmyk(54.9%, 40.2%, 0%, 67.8%)
CIE-LABlab(20.82, 5.76, -21.72)
CIE-LCHlch(20.82, 22.47, 284.86°)
OKLaboklab(31.94% -0.0024 -0.0613)
OKLCHoklch(31.94% 0.061 267.7)
XYZxyz(3.3838, 3.1989, 8.4202)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253152 #524625
analogous
#254752 #253152 #2F2552
triadic
#253152 #522531 #315225
tetradic
#253152 #522547 #524625 #25522F
square
#253152 #522547 #524625 #25522F
split-complementary
#253152 #522F25 #475225
monochromatic
#0A0D15 #121828 #253152 #384A7C #4B63A6

Accessibility & contrast

On white

12.81
#253152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253152
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253152#FFFFFF#000000##FFFFFF
##2531521.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243453
Deuteranopia (green-blind)
#1F3051
Tritanopia (blue-blind)
#11383D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #253152;
/* rgb */ color: rgb(37, 49, 82);
/* oklch */ color: oklch(31.9% 0.061 267.7);
Tailwind
colors: {
  custom: {
    50: '#636883',
    500: '#253152',
    950: '#000000',
  },
}
SCSS
$custom: #253152;
$custom-light: #636883;
$custom-dark: #000000;
JSON
{
  "hex": "#253152",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 224,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.06136,
    "h": 267.7
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#253152
secondary
#85764D
accent
#AF5ACE
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #253152

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

Preview Lab → · Contrast checker → · Palette generator →

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