#23336B#23336B

#23336B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.100 H 268.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#23336B
RGBrgb(35, 51, 107)
HSLhsl(227, 51%, 28%)
HSVhsv(227, 67%, 42%)
CMYKcmyk(67.3%, 52.3%, 0%, 58%)
CIE-LABlab(22.95, 13.39, -34.74)
CIE-LCHlch(22.95, 37.23, 291.08°)
OKLaboklab(34.07% -0.0023 -0.0995)
OKLCHoklch(34.07% 0.1 268.7)
XYZxyz(4.5299, 3.7861, 14.3991)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23336B #6B5B23
analogous
#23576B #23336B #37236B
triadic
#23336B #6B2333 #336B23
tetradic
#23336B #6B2357 #6B5B23 #236B37
square
#23336B #6B2357 #6B5B23 #236B37
split-complementary
#23336B #6B3723 #576B23
monochromatic
#080B17 #141D3D #23336B #324999 #4662C2

Accessibility & contrast

On white

11.95
#23336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#23336B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23336B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23336B#FFFFFF#000000##FFFFFF
##23336B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#04346A
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23336b;
/* rgb */ color: rgb(35, 51, 107);
/* oklch */ color: oklch(34.1% 0.100 268.7);
Tailwind
colors: {
  custom: {
    50: '#666a96',
    500: '#23336b',
    950: '#000000',
  },
}
SCSS
$custom: #23336b;
$custom-light: #666a96;
$custom-dark: #000000;
JSON
{
  "hex": "#23336b",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 226.667,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34069,
    "c": 0.09954,
    "h": 268.7
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#23336B
secondary
#9E8C4B
accent
#BB4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23336B

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

Preview Lab → · Contrast checker → · Palette generator →

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