#2317B4#2317B4

#2317B4 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.4% C 0.224 H 270.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2317B4
RGBrgb(35, 23, 180)
HSLhsl(245, 77%, 40%)
HSVhsv(245, 87%, 71%)
CMYKcmyk(80.6%, 87.2%, 0%, 29.4%)
CIE-LABlab(24.53, 55.18, -77.44)
CIE-LCHlch(24.53, 95.08, 305.47°)
OKLaboklab(37.41% 0.0035 -0.224)
OKLCHoklch(37.41% 0.224 270.9)
XYZxyz(9.2350, 4.2643, 43.5075)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2317B4 #A8B417
analogous
#175AB4 #2317B4 #7217B4
triadic
#2317B4 #B42317 #17B423
tetradic
#2317B4 #B4175A #A8B417 #17B472
square
#2317B4 #B4175A #A8B417 #17B472
split-complementary
#2317B4 #B47217 #5AB417
monochromatic
#0E0947 #18107E #2317B4 #3425E3 #665BEA

Accessibility & contrast

On white

11.33
#2317B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2317B4
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2317B4#FFFFFF#000000##FFFFFF
##2317B41.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2317b4;
/* rgb */ color: rgb(35, 23, 180);
/* oklch */ color: oklch(37.4% 0.224 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b5ccc',
    500: '#2317b4',
    950: '#000000',
  },
}
SCSS
$custom: #2317b4;
$custom-light: #7b5ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2317b4",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 244.586,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.22399,
    "h": 270.9
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2317B4

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

Preview Lab → · Contrast checker → · Palette generator →

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