#23407F#23407F

#23407F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.112 H 263.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#23407F
RGBrgb(35, 64, 127)
HSLhsl(221, 57%, 32%)
HSVhsv(221, 72%, 50%)
CMYKcmyk(72.4%, 49.6%, 0%, 50.2%)
CIE-LABlab(28.26, 12.16, -38.89)
CIE-LCHlch(28.26, 40.75, 287.36°)
OKLaboklab(38.57% -0.0128 -0.1115)
OKLCHoklch(38.57% 0.112 263.5)
XYZxyz(6.3559, 5.5558, 20.8120)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23407F #7F6223
analogous
#236E7F #23407F #34237F
triadic
#23407F #7F2340 #407F23
tetradic
#23407F #7F236E #7F6223 #237F34
square
#23407F #7F236E #7F6223 #237F34
split-complementary
#23407F #7F3423 #6E7F23
monochromatic
#09101F #16284F #23407F #3058AF #4E77CE

Accessibility & contrast

On white

9.95
#23407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23407F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23407F#FFFFFF#000000##FFFFFF
##23407F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#063F7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #23407f;
/* rgb */ color: rgb(35, 64, 127);
/* oklch */ color: oklch(38.6% 0.112 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a74a4',
    500: '#23407f',
    950: '#000000',
  },
}
SCSS
$custom: #23407f;
$custom-light: #6a74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23407f",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 221.087,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38572,
    "c": 0.11225,
    "h": 263.5
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#23407F
secondary
#B1924C
accent
#B048E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #23407F

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

Preview Lab → · Contrast checker → · Palette generator →

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