#253174#253174

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

Color values

HEX#253174
RGBrgb(37, 49, 116)
HSLhsl(231, 52%, 30%)
HSVhsv(231, 68%, 45%)
CMYKcmyk(68.1%, 57.8%, 0%, 54.5%)
CIE-LABlab(23.17, 18.67, -40.16)
CIE-LCHlch(23.17, 44.28, 294.93°)
OKLaboklab(34.48% 0.0028 -0.1154)
OKLCHoklch(34.48% 0.115 271.4)
XYZxyz(5.0126, 3.8504, 16.9987)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253174 #746825
analogous
#255974 #253174 #402574
triadic
#253174 #742531 #317425
tetradic
#253174 #742559 #746825 #257440
square
#253174 #742559 #746825 #257440
split-complementary
#253174 #744025 #597425
monochromatic
#070A17 #161D46 #253174 #3445A2 #4D60C6

Accessibility & contrast

On white

11.86
#253174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253174
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253174#FFFFFF#000000##FFFFFF
##2531741.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253174;
/* rgb */ color: rgb(37, 49, 116);
/* oklch */ color: oklch(34.5% 0.115 271.4);
Tailwind
colors: {
  custom: {
    50: '#69689d',
    500: '#253174',
    950: '#000000',
  },
}
SCSS
$custom: #253174;
$custom-light: #69689d;
$custom-dark: #000000;
JSON
{
  "hex": "#253174",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 230.886,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.34484,
    "c": 0.11546,
    "h": 271.4
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253174

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

Preview Lab → · Contrast checker → · Palette generator →

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