#2316B3#2316B3

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

Color values

HEX#2316B3
RGBrgb(35, 22, 179)
HSLhsl(245, 78%, 39%)
HSVhsv(245, 88%, 70%)
CMYKcmyk(80.4%, 87.7%, 0%, 29.8%)
CIE-LABlab(24.27, 55.26, -77.26)
CIE-LCHlch(24.27, 94.99, 305.58°)
OKLaboklab(37.2% 0.0039 -0.2234)
OKLCHoklch(37.2% 0.223 271)
XYZxyz(9.1140, 4.1848, 42.9665)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2316B3 #A6B316
analogous
#1658B3 #2316B3 #7216B3
triadic
#2316B3 #B32316 #16B323
tetradic
#2316B3 #B31658 #A6B316 #16B372
square
#2316B3 #B31658 #A6B316 #16B372
split-complementary
#2316B3 #B37216 #58B316
monochromatic
#0E0946 #180F7C #2316B3 #3222E4 #6559EB

Accessibility & contrast

On white

11.43
#2316B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2316B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2316B3
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2316B3#FFFFFF#000000##FFFFFF
##2316B31.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2316b3;
/* rgb */ color: rgb(35, 22, 179);
/* oklch */ color: oklch(37.2% 0.223 271.0);
Tailwind
colors: {
  custom: {
    50: '#7b5bcb',
    500: '#2316b3',
    950: '#000000',
  },
}
SCSS
$custom: #2316b3;
$custom-light: #7b5bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2316b3",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 244.968,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.22346,
    "h": 271
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#2316B3
secondary
#C4CE57
accent
#F533E5
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #2316B3

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

Preview Lab → · Contrast checker → · Palette generator →

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