#253173#253173

#253173 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.114 H 271.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#253173
RGBrgb(37, 49, 115)
HSLhsl(231, 51%, 30%)
HSVhsv(231, 68%, 45%)
CMYKcmyk(67.8%, 57.4%, 0%, 54.9%)
CIE-LABlab(23.09, 18.28, -39.64)
CIE-LCHlch(23.09, 43.66, 294.75°)
OKLaboklab(34.4% 0.0027 -0.1139)
OKLCHoklch(34.4% 0.114 271.4)
XYZxyz(4.9547, 3.8273, 16.6940)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253173 #736725
analogous
#255873 #253173 #402573
triadic
#253173 #732531 #317325
tetradic
#253173 #732558 #736725 #257340
square
#253173 #732558 #736725 #257340
split-complementary
#253173 #734025 #587325
monochromatic
#070A17 #161D45 #253173 #3445A1 #4D5FC6

Accessibility & contrast

On white

11.89
#253173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#253173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253173
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253173#FFFFFF#000000##FFFFFF
##2531731.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #253173;
/* rgb */ color: rgb(37, 49, 115);
/* oklch */ color: oklch(34.4% 0.114 271.4);
Tailwind
colors: {
  custom: {
    50: '#69689c',
    500: '#253173',
    950: '#000000',
  },
}
SCSS
$custom: #253173;
$custom-light: #69689c;
$custom-dark: #000000;
JSON
{
  "hex": "#253173",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 230.769,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.344,
    "c": 0.11395,
    "h": 271.4
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#253173
secondary
#A6984E
accent
#C54DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253173

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

Preview Lab → · Contrast checker → · Palette generator →

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