#23487D#23487D

#23487D is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.099 H 257.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#23487D
RGBrgb(35, 72, 125)
HSLhsl(215, 56%, 31%)
HSVhsv(215, 72%, 49%)
CMYKcmyk(72%, 42.4%, 0%, 51%)
CIE-LABlab(30.57, 5.91, -33.94)
CIE-LCHlch(30.57, 34.45, 279.88°)
OKLaboklab(40.31% -0.0212 -0.0968)
OKLCHoklch(40.31% 0.099 257.7)
XYZxyz(6.7108, 6.4720, 20.2936)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23487D #7D5823
analogous
#23757D #23487D #2B237D
triadic
#23487D #7D2348 #487D23
tetradic
#23487D #7D2375 #7D5823 #237D2B
square
#23487D #7D2375 #7D5823 #237D2B
split-complementary
#23487D #7D2B23 #757D23
monochromatic
#08111D #162C4D #23487D #3064AD #4D82CD

Accessibility & contrast

On white

9.15
#23487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23487D
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23487D#FFFFFF#000000##FFFFFF
##23487D1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #23487d;
/* rgb */ color: rgb(35, 72, 125);
/* oklch */ color: oklch(40.3% 0.099 257.7);
Tailwind
colors: {
  custom: {
    50: '#6a7aa3',
    500: '#23487d',
    950: '#000000',
  },
}
SCSS
$custom: #23487d;
$custom-light: #6a7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#23487d",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 215.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.09912,
    "h": 257.7
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#23487D
secondary
#AF874C
accent
#A148E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #23487D

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

Preview Lab → · Contrast checker → · Palette generator →

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