#2317A1#2317A1

#2317A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.1% C 0.203 H 272.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2317A1
RGBrgb(35, 23, 161)
HSLhsl(245, 75%, 36%)
HSVhsv(245, 86%, 63%)
CMYKcmyk(78.3%, 85.7%, 0%, 36.9%)
CIE-LABlab(22.10, 49.58, -70.01)
CIE-LCHlch(22.10, 85.79, 305.31°)
OKLaboklab(35.06% 0.0085 -0.2025)
OKLCHoklch(35.06% 0.203 272.4)
XYZxyz(7.4304, 3.5425, 34.0035)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2317A1 #95A117
analogous
#1750A1 #2317A1 #6817A1
triadic
#2317A1 #A12317 #17A123
tetradic
#2317A1 #A11750 #95A117 #17A168
square
#2317A1 #A11750 #95A117 #17A168
split-complementary
#2317A1 #A16817 #50A117
monochromatic
#0C0836 #170F6B #2317A1 #2F1FD7 #5A4DE6

Accessibility & contrast

On white

12.29
#2317A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2317A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2317A1
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2317A1#FFFFFF#000000##FFFFFF
##2317A11.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2317a1;
/* rgb */ color: rgb(35, 23, 161);
/* oklch */ color: oklch(35.1% 0.203 272.4);
Tailwind
colors: {
  custom: {
    50: '#765abe',
    500: '#2317a1',
    950: '#000000',
  },
}
SCSS
$custom: #2317a1;
$custom-light: #765abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2317a1",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 245.217,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.20265,
    "h": 272.4
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#2317A1
secondary
#BDC74C
accent
#F236E1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2317A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2317A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva