#23487E#23487E

#23487E is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.101 H 258.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#23487E
RGBrgb(35, 72, 126)
HSLhsl(216, 57%, 32%)
HSVhsv(216, 72%, 49%)
CMYKcmyk(72.2%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.63, 6.30, -34.47)
CIE-LCHlch(30.63, 35.04, 280.36°)
OKLaboklab(40.38% -0.021 -0.0984)
OKLCHoklch(40.38% 0.101 258)
XYZxyz(6.7750, 6.4977, 20.6317)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23487E #7E5923
analogous
#23767E #23487E #2B237E
triadic
#23487E #7E2348 #487E23
tetradic
#23487E #7E2376 #7E5923 #237E2B
square
#23487E #7E2376 #7E5923 #237E2B
split-complementary
#23487E #7E2B23 #767E23
monochromatic
#08111E #162D4E #23487E #3063AE #4E82CE

Accessibility & contrast

On white

9.13
#23487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#23487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23487E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23487E#FFFFFF#000000##FFFFFF
##23487E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #23487e;
/* rgb */ color: rgb(35, 72, 126);
/* oklch */ color: oklch(40.4% 0.101 258.0);
Tailwind
colors: {
  custom: {
    50: '#6a7aa4',
    500: '#23487e',
    950: '#000000',
  },
}
SCSS
$custom: #23487e;
$custom-light: #6a7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#23487e",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 215.604,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.10058,
    "h": 258
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#23487E
secondary
#B0884C
accent
#A248E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #23487E

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

Preview Lab → · Contrast checker → · Palette generator →

#23487E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva