#23407C#23407C

#23407C is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.108 H 262.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#23407C
RGBrgb(35, 64, 124)
HSLhsl(220, 56%, 31%)
HSVhsv(220, 72%, 49%)
CMYKcmyk(71.8%, 48.4%, 0%, 51.4%)
CIE-LABlab(28.06, 10.97, -37.34)
CIE-LCHlch(28.06, 38.92, 286.38°)
OKLaboklab(38.35% -0.0133 -0.107)
OKLCHoklch(38.35% 0.108 262.9)
XYZxyz(6.1633, 5.4787, 19.7976)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23407C #7C5F23
analogous
#236C7C #23407C #32237C
triadic
#23407C #7C2340 #407C23
tetradic
#23407C #7C236C #7C5F23 #237C32
square
#23407C #7C236C #7C5F23 #237C32
split-complementary
#23407C #7C3223 #6C7C23
monochromatic
#080F1D #16274C #23407C #3059AC #4D76CD

Accessibility & contrast

On white

10.02
#23407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23407C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23407C#FFFFFF#000000##FFFFFF
##23407C1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477E
Deuteranopia (green-blind)
#0E3E7B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #23407c;
/* rgb */ color: rgb(35, 64, 124);
/* oklch */ color: oklch(38.3% 0.108 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a74a2',
    500: '#23407c',
    950: '#000000',
  },
}
SCSS
$custom: #23407c;
$custom-light: #6a74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23407c",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 220.449,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.10778,
    "h": 262.9
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#23407C
secondary
#AF8F4C
accent
#AE49DF
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #23407C

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

Preview Lab → · Contrast checker → · Palette generator →

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