#23487C#23487C

#23487C is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.098 H 257.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#23487C
RGBrgb(35, 72, 124)
HSLhsl(215, 56%, 31%)
HSVhsv(215, 72%, 49%)
CMYKcmyk(71.8%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.51, 5.52, -33.42)
CIE-LCHlch(30.51, 33.87, 279.38°)
OKLaboklab(40.24% -0.0214 -0.0953)
OKLCHoklch(40.24% 0.098 257.3)
XYZxyz(6.6473, 6.4466, 19.9589)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23487C #7C5723
analogous
#23747C #23487C #2A237C
triadic
#23487C #7C2348 #487C23
tetradic
#23487C #7C2374 #7C5723 #237C2A
square
#23487C #7C2374 #7C5723 #237C2A
split-complementary
#23487C #7C2A23 #747C23
monochromatic
#08111D #162C4C #23487C #3064AC #4D82CD

Accessibility & contrast

On white

9.17
#23487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#23487C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23487C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23487C#FFFFFF#000000##FFFFFF
##23487C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #23487c;
/* rgb */ color: rgb(35, 72, 124);
/* oklch */ color: oklch(40.2% 0.098 257.3);
Tailwind
colors: {
  custom: {
    50: '#697aa2',
    500: '#23487c',
    950: '#000000',
  },
}
SCSS
$custom: #23487c;
$custom-light: #697aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#23487c",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 215.056,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.09767,
    "h": 257.3
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#23487C
secondary
#AF864C
accent
#A149DF
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #23487C

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

Preview Lab → · Contrast checker → · Palette generator →

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