#23316E#23316E

#23316E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.107 H 270.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#23316E
RGBrgb(35, 49, 110)
HSLhsl(229, 52%, 28%)
HSVhsv(229, 68%, 43%)
CMYKcmyk(68.2%, 55.5%, 0%, 56.9%)
CIE-LABlab(22.58, 15.98, -37.27)
CIE-LCHlch(22.58, 40.55, 293.21°)
OKLaboklab(33.86% 0.0001 -0.107)
OKLCHoklch(33.86% 0.107 270.1)
XYZxyz(4.6050, 3.6793, 15.2163)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23316E #6E6023
analogous
#23566E #23316E #3A236E
triadic
#23316E #6E2331 #316E23
tetradic
#23316E #6E2356 #6E6023 #236E3A
square
#23316E #6E2356 #6E6023 #236E3A
split-complementary
#23316E #6E3A23 #566E23
monochromatic
#070A17 #141C40 #23316E #32469C #475EC4

Accessibility & contrast

On white

12.10
#23316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#23316E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23316E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23316E#FFFFFF#000000##FFFFFF
##23316E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3970
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23316e;
/* rgb */ color: rgb(35, 49, 110);
/* oklch */ color: oklch(33.9% 0.107 270.1);
Tailwind
colors: {
  custom: {
    50: '#676898',
    500: '#23316e',
    950: '#000000',
  },
}
SCSS
$custom: #23316e;
$custom-light: #676898;
$custom-dark: #000000;
JSON
{
  "hex": "#23316e",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 228.8,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3386,
    "c": 0.10698,
    "h": 270.1
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#23316E
secondary
#A1914C
accent
#C14DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #23316E

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

Preview Lab → · Contrast checker → · Palette generator →

#23316E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva