#23406F#23406F

#23406F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.088 H 259.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#23406F
RGBrgb(35, 64, 111)
HSLhsl(217, 52%, 29%)
HSVhsv(217, 68%, 44%)
CMYKcmyk(68.5%, 42.3%, 0%, 56.5%)
CIE-LABlab(27.22, 5.87, -30.47)
CIE-LCHlch(27.22, 31.03, 280.91°)
OKLaboklab(37.43% -0.0159 -0.0868)
OKLCHoklch(37.43% 0.088 259.6)
XYZxyz(5.3948, 5.1713, 15.7497)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23406F #6F5223
analogous
#23666F #23406F #2C236F
triadic
#23406F #6F2340 #406F23
tetradic
#23406F #6F2366 #6F5223 #236F2C
square
#23406F #6F2366 #6F5223 #236F2C
split-complementary
#23406F #6F2C23 #666F23
monochromatic
#070D17 #142540 #23406F #325B9E #4777C5

Accessibility & contrast

On white

10.32
#23406F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#23406F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23406F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23406F#FFFFFF#000000##FFFFFF
##23406F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4471
Deuteranopia (green-blind)
#1F3D6E
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23406f;
/* rgb */ color: rgb(35, 64, 111);
/* oklch */ color: oklch(37.4% 0.088 259.6);
Tailwind
colors: {
  custom: {
    50: '#677498',
    500: '#23406f',
    950: '#000000',
  },
}
SCSS
$custom: #23406f;
$custom-light: #677498;
$custom-dark: #000000;
JSON
{
  "hex": "#23406f",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 217.105,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.08823,
    "h": 259.6
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#23406F
secondary
#A2814C
accent
#A54CDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #23406F

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

Preview Lab → · Contrast checker → · Palette generator →

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