#23316F#23316F

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

Color values

HEX#23316F
RGBrgb(35, 49, 111)
HSLhsl(229, 52%, 29%)
HSVhsv(229, 68%, 44%)
CMYKcmyk(68.5%, 55.9%, 0%, 56.5%)
CIE-LABlab(22.66, 16.37, -37.79)
CIE-LCHlch(22.66, 41.18, 293.42°)
OKLaboklab(33.94% 0.0002 -0.1085)
OKLCHoklch(33.94% 0.109 270.1)
XYZxyz(4.6597, 3.7012, 15.5047)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23316F #6F6123
analogous
#23576F #23316F #3B236F
triadic
#23316F #6F2331 #316F23
tetradic
#23316F #6F2357 #6F6123 #236F3B
square
#23316F #6F2357 #6F6123 #236F3B
split-complementary
#23316F #6F3B23 #576F23
monochromatic
#070A17 #141C40 #23316F #32469E #475EC5

Accessibility & contrast

On white

12.07
#23316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23316F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23316F#FFFFFF#000000##FFFFFF
##23316F1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23316f;
/* rgb */ color: rgb(35, 49, 111);
/* oklch */ color: oklch(33.9% 0.109 270.1);
Tailwind
colors: {
  custom: {
    50: '#676899',
    500: '#23316f',
    950: '#000000',
  },
}
SCSS
$custom: #23316f;
$custom-light: #676899;
$custom-dark: #000000;
JSON
{
  "hex": "#23316f",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 228.947,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.10851,
    "h": 270.1
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#23316F
secondary
#A2924C
accent
#C14CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #23316F

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

Preview Lab → · Contrast checker → · Palette generator →

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