#253175#253175

#253175 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.117 H 271.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#253175
RGBrgb(37, 49, 117)
HSLhsl(231, 52%, 30%)
HSVhsv(231, 68%, 46%)
CMYKcmyk(68.4%, 58.1%, 0%, 54.1%)
CIE-LABlab(23.25, 19.05, -40.67)
CIE-LCHlch(23.25, 44.91, 295.10°)
OKLaboklab(34.57% 0.0028 -0.1169)
OKLCHoklch(34.57% 0.117 271.4)
XYZxyz(5.0711, 3.8738, 17.3067)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253175 #756925
analogous
#255975 #253175 #412575
triadic
#253175 #752531 #317525
tetradic
#253175 #752559 #756925 #257541
square
#253175 #752559 #756925 #257541
split-complementary
#253175 #754125 #597525
monochromatic
#080A18 #161E47 #253175 #3444A3 #4E60C7

Accessibility & contrast

On white

11.83
#253175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253175
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253175#FFFFFF#000000##FFFFFF
##2531751.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #253175;
/* rgb */ color: rgb(37, 49, 117);
/* oklch */ color: oklch(34.6% 0.117 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a689d',
    500: '#253175',
    950: '#000000',
  },
}
SCSS
$custom: #253175;
$custom-light: #6a689d;
$custom-dark: #000000;
JSON
{
  "hex": "#253175",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 231,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34568,
    "c": 0.11696,
    "h": 271.4
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#253175
secondary
#A89A4E
accent
#C64CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253175

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

Preview Lab → · Contrast checker → · Palette generator →

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