#23406B#23406B

#23406B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.082 H 258.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#23406B
RGBrgb(35, 64, 107)
HSLhsl(216, 51%, 28%)
HSVhsv(216, 67%, 42%)
CMYKcmyk(67.3%, 40.2%, 0%, 58%)
CIE-LABlab(26.98, 4.32, -28.31)
CIE-LCHlch(26.98, 28.63, 278.68°)
OKLaboklab(37.16% -0.0169 -0.0804)
OKLCHoklch(37.16% 0.082 258.1)
XYZxyz(5.1794, 5.0852, 14.6156)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23406B #6B4E23
analogous
#23646B #23406B #2A236B
triadic
#23406B #6B2340 #406B23
tetradic
#23406B #6B2364 #6B4E23 #236B2A
square
#23406B #6B2364 #6B4E23 #236B2A
split-complementary
#23406B #6B2A23 #646B23
monochromatic
#080E17 #14243D #23406B #325C99 #4678C2

Accessibility & contrast

On white

10.41
#23406B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#23406B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23406B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23406B#FFFFFF#000000##FFFFFF
##23406B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436D
Deuteranopia (green-blind)
#233D6A
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23406b;
/* rgb */ color: rgb(35, 64, 107);
/* oklch */ color: oklch(37.2% 0.082 258.1);
Tailwind
colors: {
  custom: {
    50: '#667495',
    500: '#23406b',
    950: '#000000',
  },
}
SCSS
$custom: #23406b;
$custom-light: #667495;
$custom-dark: #000000;
JSON
{
  "hex": "#23406b",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 215.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.08219,
    "h": 258.1
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#23406B
secondary
#9E7D4B
accent
#A24EDA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #23406B

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

Preview Lab → · Contrast checker → · Palette generator →

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