#253177#253177

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

Color values

HEX#253177
RGBrgb(37, 49, 119)
HSLhsl(231, 53%, 31%)
HSVhsv(231, 69%, 47%)
CMYKcmyk(68.9%, 58.8%, 0%, 53.3%)
CIE-LABlab(23.41, 19.82, -41.68)
CIE-LCHlch(23.41, 46.15, 295.43°)
OKLaboklab(34.74% 0.0029 -0.1199)
OKLCHoklch(34.74% 0.12 271.4)
XYZxyz(5.1899, 3.9214, 17.9326)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253177 #776B25
analogous
#255A77 #253177 #422577
triadic
#253177 #772531 #317725
tetradic
#253177 #77255A #776B25 #257742
square
#253177 #77255A #776B25 #257742
split-complementary
#253177 #774225 #5A7725
monochromatic
#080B1A #161E48 #253177 #3444A6 #4E60C8

Accessibility & contrast

On white

11.77
#253177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253177
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253177#FFFFFF#000000##FFFFFF
##2531771.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253177;
/* rgb */ color: rgb(37, 49, 119);
/* oklch */ color: oklch(34.7% 0.120 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a689f',
    500: '#253177',
    950: '#000000',
  },
}
SCSS
$custom: #253177;
$custom-light: #6a689f;
$custom-dark: #000000;
JSON
{
  "hex": "#253177",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 231.22,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34738,
    "c": 0.11995,
    "h": 271.4
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#253177
secondary
#A99C4E
accent
#C74CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253177

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

Preview Lab → · Contrast checker → · Palette generator →

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