#23396C#23396C

#23396C is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.093 H 264.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#23396C
RGBrgb(35, 57, 108)
HSLhsl(222, 51%, 28%)
HSVhsv(222, 68%, 42%)
CMYKcmyk(67.6%, 47.2%, 0%, 57.6%)
CIE-LABlab(24.85, 9.55, -32.34)
CIE-LCHlch(24.85, 33.72, 286.45°)
OKLaboklab(35.54% -0.0088 -0.0924)
OKLCHoklch(35.54% 0.093 264.6)
XYZxyz(4.8621, 4.3658, 14.7709)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23396C #6C5623
analogous
#235D6C #23396C #31236C
triadic
#23396C #6C2339 #396C23
tetradic
#23396C #6C235D #6C5623 #236C31
square
#23396C #6C235D #6C5623 #236C31
split-complementary
#23396C #6C3123 #5D6C23
monochromatic
#070C17 #14213E #23396C #32519A #466CC3

Accessibility & contrast

On white

11.21
#23396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#23396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23396C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23396C#FFFFFF#000000##FFFFFF
##23396C1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6E
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23396c;
/* rgb */ color: rgb(35, 57, 108);
/* oklch */ color: oklch(35.5% 0.093 264.6);
Tailwind
colors: {
  custom: {
    50: '#666f96',
    500: '#23396c',
    950: '#000000',
  },
}
SCSS
$custom: #23396c;
$custom-light: #666f96;
$custom-dark: #000000;
JSON
{
  "hex": "#23396c",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 221.918,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.09278,
    "h": 264.6
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#23396C
secondary
#9F864B
accent
#B04DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #23396C

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

Preview Lab → · Contrast checker → · Palette generator →

#23396C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva