#253071#253071

#253071 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.112 H 271.8°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#253071
RGBrgb(37, 48, 113)
HSLhsl(231, 51%, 29%)
HSVhsv(231, 67%, 44%)
CMYKcmyk(67.3%, 57.5%, 0%, 55.7%)
CIE-LABlab(22.65, 18.21, -39.08)
CIE-LCHlch(22.65, 43.11, 294.99°)
OKLaboklab(34.02% 0.0036 -0.1123)
OKLCHoklch(34.02% 0.112 271.8)
XYZxyz(4.7995, 3.6991, 16.0806)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253071 #716625
analogous
#255671 #253071 #402571
triadic
#253071 #712530 #307125
tetradic
#253071 #712556 #716625 #257140
square
#253071 #712556 #716625 #257140
split-complementary
#253071 #714025 #567125
monochromatic
#080A17 #161C43 #253071 #34449F #4C5DC4

Accessibility & contrast

On white

12.07
#253071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#253071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253071
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253071#FFFFFF#000000##FFFFFF
##2530711.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #253071;
/* rgb */ color: rgb(37, 48, 113);
/* oklch */ color: oklch(34.0% 0.112 271.8);
Tailwind
colors: {
  custom: {
    50: '#69689a',
    500: '#253071',
    950: '#000000',
  },
}
SCSS
$custom: #253071;
$custom-light: #69689a;
$custom-dark: #000000;
JSON
{
  "hex": "#253071",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 231.316,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.11233,
    "h": 271.8
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#253071
secondary
#A4974E
accent
#C64EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253071

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

Preview Lab → · Contrast checker → · Palette generator →

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