#253176#253176

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

Color values

HEX#253176
RGBrgb(37, 49, 118)
HSLhsl(231, 52%, 30%)
HSVhsv(231, 69%, 46%)
CMYKcmyk(68.6%, 58.5%, 0%, 53.7%)
CIE-LABlab(23.33, 19.44, -41.17)
CIE-LCHlch(23.33, 45.53, 295.27°)
OKLaboklab(34.65% 0.0029 -0.1184)
OKLCHoklch(34.65% 0.118 271.4)
XYZxyz(5.1302, 3.8975, 17.6180)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253176 #766A25
analogous
#255976 #253176 #412576
triadic
#253176 #762531 #317625
tetradic
#253176 #762559 #766A25 #257641
square
#253176 #762559 #766A25 #257641
split-complementary
#253176 #764125 #597625
monochromatic
#080A19 #161E47 #253176 #3444A5 #4E60C7

Accessibility & contrast

On white

11.80
#253176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#253176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253176
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253176#FFFFFF#000000##FFFFFF
##2531761.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253176;
/* rgb */ color: rgb(37, 49, 118);
/* oklch */ color: oklch(34.7% 0.118 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a689e',
    500: '#253176',
    950: '#000000',
  },
}
SCSS
$custom: #253176;
$custom-light: #6a689e;
$custom-dark: #000000;
JSON
{
  "hex": "#253176",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 231.111,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34653,
    "c": 0.11846,
    "h": 271.4
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#253176
secondary
#A99B4E
accent
#C64CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253176

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

Preview Lab → · Contrast checker → · Palette generator →

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