#23407A#23407A

#23407A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.105 H 262.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#23407A
RGBrgb(35, 64, 122)
HSLhsl(220, 55%, 31%)
HSVhsv(220, 71%, 48%)
CMYKcmyk(71.3%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.92, 10.19, -36.30)
CIE-LCHlch(27.92, 37.71, 285.67°)
OKLaboklab(38.2% -0.0136 -0.1039)
OKLCHoklch(38.2% 0.105 262.5)
XYZxyz(6.0381, 5.4286, 19.1382)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23407A #7A5D23
analogous
#236B7A #23407A #31237A
triadic
#23407A #7A2340 #407A23
tetradic
#23407A #7A236B #7A5D23 #237A31
square
#23407A #7A236B #7A5D23 #237A31
split-complementary
#23407A #7A3123 #6B7A23
monochromatic
#080E1B #15274A #23407A #3159AA #4C76CC

Accessibility & contrast

On white

10.07
#23407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23407A
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23407A#FFFFFF#000000##FFFFFF
##23407A1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#123E79
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #23407a;
/* rgb */ color: rgb(35, 64, 122);
/* oklch */ color: oklch(38.2% 0.105 262.5);
Tailwind
colors: {
  custom: {
    50: '#6974a1',
    500: '#23407a',
    950: '#000000',
  },
}
SCSS
$custom: #23407a;
$custom-light: #6974a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23407a",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 220,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.10479,
    "h": 262.5
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#23407A
secondary
#AD8C4C
accent
#AD49DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #23407A

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

Preview Lab → · Contrast checker → · Palette generator →

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