#2316B4#2316B4

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

Color values

HEX#2316B4
RGBrgb(35, 22, 180)
HSLhsl(245, 78%, 40%)
HSVhsv(245, 88%, 71%)
CMYKcmyk(80.6%, 87.8%, 0%, 29.4%)
CIE-LABlab(24.40, 55.55, -77.64)
CIE-LCHlch(24.40, 95.47, 305.58°)
OKLaboklab(37.32% 0.0036 -0.2245)
OKLCHoklch(37.32% 0.225 270.9)
XYZxyz(9.2155, 4.2254, 43.5011)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2316B4 #A7B416
analogous
#1658B4 #2316B4 #7216B4
triadic
#2316B4 #B42316 #16B423
tetradic
#2316B4 #B41658 #A7B416 #16B472
square
#2316B4 #B41658 #A7B416 #16B472
split-complementary
#2316B4 #B47216 #58B416
monochromatic
#0E0947 #180F7D #2316B4 #3323E4 #665AEB

Accessibility & contrast

On white

11.38
#2316B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2316B4
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2316B4#FFFFFF#000000##FFFFFF
##2316B41.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)
#0041B8
Deuteranopia (green-blind)
#0032B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2316b4;
/* rgb */ color: rgb(35, 22, 180);
/* oklch */ color: oklch(37.3% 0.225 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b5bcc',
    500: '#2316b4',
    950: '#000000',
  },
}
SCSS
$custom: #2316b4;
$custom-light: #7b5bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2316b4",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 244.937,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37322,
    "c": 0.22456,
    "h": 270.9
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#2316B4
secondary
#C4CE58
accent
#F533E5
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2316B4

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

Preview Lab → · Contrast checker → · Palette generator →

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