#23407B#23407B

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

Color values

HEX#23407B
RGBrgb(35, 64, 123)
HSLhsl(220, 56%, 31%)
HSVhsv(220, 72%, 48%)
CMYKcmyk(71.5%, 48%, 0%, 51.8%)
CIE-LABlab(27.99, 10.58, -36.82)
CIE-LCHlch(27.99, 38.31, 286.03°)
OKLaboklab(38.28% -0.0134 -0.1054)
OKLCHoklch(38.28% 0.106 262.7)
XYZxyz(6.1004, 5.4536, 19.4662)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23407B #7B5E23
analogous
#236C7B #23407B #32237B
triadic
#23407B #7B2340 #407B23
tetradic
#23407B #7B236C #7B5E23 #237B32
square
#23407B #7B236C #7B5E23 #237B32
split-complementary
#23407B #7B3223 #6C7B23
monochromatic
#080E1C #15274B #23407B #3159AB #4C76CC

Accessibility & contrast

On white

10.04
#23407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#23407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23407B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23407B#FFFFFF#000000##FFFFFF
##23407B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#103E7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #23407b;
/* rgb */ color: rgb(35, 64, 123);
/* oklch */ color: oklch(38.3% 0.106 262.7);
Tailwind
colors: {
  custom: {
    50: '#6974a1',
    500: '#23407b',
    950: '#000000',
  },
}
SCSS
$custom: #23407b;
$custom-light: #6974a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23407b",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 220.227,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38275,
    "c": 0.10628,
    "h": 262.7
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#23407B
secondary
#AE8D4C
accent
#AE49DF
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #23407B

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

Preview Lab → · Contrast checker → · Palette generator →

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