#23396B#23396B

#23396B is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.091 H 264.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#23396B
RGBrgb(35, 57, 107)
HSLhsl(222, 51%, 28%)
HSVhsv(222, 67%, 42%)
CMYKcmyk(67.3%, 46.7%, 0%, 58%)
CIE-LABlab(24.78, 9.16, -31.80)
CIE-LCHlch(24.78, 33.10, 286.06°)
OKLaboklab(35.47% -0.0089 -0.0908)
OKLCHoklch(35.47% 0.091 264.4)
XYZxyz(4.8092, 4.3447, 14.4922)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23396B #6B5523
analogous
#235D6B #23396B #31236B
triadic
#23396B #6B2339 #396B23
tetradic
#23396B #6B235D #6B5523 #236B31
square
#23396B #6B235D #6B5523 #236B31
split-complementary
#23396B #6B3123 #5D6B23
monochromatic
#080C17 #14203D #23396B #325299 #466CC2

Accessibility & contrast

On white

11.24
#23396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23396B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23396B#FFFFFF#000000##FFFFFF
##23396B1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#16386A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23396b;
/* rgb */ color: rgb(35, 57, 107);
/* oklch */ color: oklch(35.5% 0.091 264.4);
Tailwind
colors: {
  custom: {
    50: '#666f96',
    500: '#23396b',
    950: '#000000',
  },
}
SCSS
$custom: #23396b;
$custom-light: #666f96;
$custom-dark: #000000;
JSON
{
  "hex": "#23396b",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 221.667,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35466,
    "c": 0.09123,
    "h": 264.4
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#23396B
secondary
#9E854B
accent
#AF4EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #23396B

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

Preview Lab → · Contrast checker → · Palette generator →

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