#23407D#23407D

#23407D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.109 H 263.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#23407D
RGBrgb(35, 64, 125)
HSLhsl(221, 56%, 31%)
HSVhsv(221, 72%, 49%)
CMYKcmyk(72%, 48.8%, 0%, 51%)
CIE-LABlab(28.13, 11.37, -37.86)
CIE-LCHlch(28.13, 39.53, 286.71°)
OKLaboklab(38.42% -0.0131 -0.1085)
OKLCHoklch(38.42% 0.109 263.1)
XYZxyz(6.2269, 5.5041, 20.1323)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23407D #7D6023
analogous
#236D7D #23407D #33237D
triadic
#23407D #7D2340 #407D23
tetradic
#23407D #7D236D #7D6023 #237D33
square
#23407D #7D236D #7D6023 #237D33
split-complementary
#23407D #7D3323 #6D7D23
monochromatic
#080F1D #16284D #23407D #3058AD #4D76CD

Accessibility & contrast

On white

10.00
#23407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#23407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23407D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23407D#FFFFFF#000000##FFFFFF
##23407D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#0C3E7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #23407d;
/* rgb */ color: rgb(35, 64, 125);
/* oklch */ color: oklch(38.4% 0.109 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a74a3',
    500: '#23407d',
    950: '#000000',
  },
}
SCSS
$custom: #23407d;
$custom-light: #6a74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23407d",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 220.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38423,
    "c": 0.10927,
    "h": 263.1
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23407D

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

Preview Lab → · Contrast checker → · Palette generator →

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