#2317B3#2317B3

#2317B3 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.3% C 0.223 H 271.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2317B3
RGBrgb(35, 23, 179)
HSLhsl(245, 77%, 40%)
HSVhsv(245, 87%, 70%)
CMYKcmyk(80.4%, 87.2%, 0%, 29.8%)
CIE-LABlab(24.40, 54.89, -77.05)
CIE-LCHlch(24.40, 94.61, 305.46°)
OKLaboklab(37.28% 0.0038 -0.2228)
OKLCHoklch(37.28% 0.223 271)
XYZxyz(9.1335, 4.2237, 42.9730)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2317B3 #A7B317
analogous
#1759B3 #2317B3 #7117B3
triadic
#2317B3 #B32317 #17B323
tetradic
#2317B3 #B31759 #A7B317 #17B371
square
#2317B3 #B31759 #A7B317 #17B371
split-complementary
#2317B3 #B37117 #59B317
monochromatic
#0E0947 #18107D #2317B3 #3324E3 #665BEA

Accessibility & contrast

On white

11.38
#2317B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2317B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2317B3
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2317B3#FFFFFF#000000##FFFFFF
##2317B31.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2317b3;
/* rgb */ color: rgb(35, 23, 179);
/* oklch */ color: oklch(37.3% 0.223 271.0);
Tailwind
colors: {
  custom: {
    50: '#7b5bcb',
    500: '#2317b3',
    950: '#000000',
  },
}
SCSS
$custom: #2317b3;
$custom-light: #7b5bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2317b3",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 244.615,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37282,
    "c": 0.22288,
    "h": 271
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#2317B3
secondary
#C4CD58
accent
#F434E5
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #2317B3

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

Preview Lab → · Contrast checker → · Palette generator →

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