#23407E#23407E

#23407E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.111 H 263.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#23407E
RGBrgb(35, 64, 126)
HSLhsl(221, 57%, 32%)
HSVhsv(221, 72%, 49%)
CMYKcmyk(72.2%, 49.2%, 0%, 50.6%)
CIE-LABlab(28.19, 11.76, -38.38)
CIE-LCHlch(28.19, 40.14, 287.04°)
OKLaboklab(38.5% -0.0129 -0.11)
OKLCHoklch(38.5% 0.111 263.3)
XYZxyz(6.2911, 5.5298, 20.4704)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23407E #7E6123
analogous
#236E7E #23407E #34237E
triadic
#23407E #7E2340 #407E23
tetradic
#23407E #7E236E #7E6123 #237E34
square
#23407E #7E236E #7E6123 #237E34
split-complementary
#23407E #7E3423 #6E7E23
monochromatic
#080F1E #16284E #23407E #3058AE #4E76CE

Accessibility & contrast

On white

9.97
#23407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#23407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23407E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23407E#FFFFFF#000000##FFFFFF
##23407E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#093F7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #23407e;
/* rgb */ color: rgb(35, 64, 126);
/* oklch */ color: oklch(38.5% 0.111 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a74a4',
    500: '#23407e',
    950: '#000000',
  },
}
SCSS
$custom: #23407e;
$custom-light: #6a74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23407e",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 220.879,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.11076,
    "h": 263.3
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#23407E
secondary
#B0914C
accent
#AF48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #23407E

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

Preview Lab → · Contrast checker → · Palette generator →

#23407E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva