#23387D#23387D

#23387D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.120 H 267.4°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#23387D
RGBrgb(35, 56, 125)
HSLhsl(226, 56%, 31%)
HSVhsv(226, 72%, 49%)
CMYKcmyk(72%, 55.2%, 0%, 51%)
CIE-LABlab(25.76, 16.93, -41.67)
CIE-LCHlch(25.76, 44.98, 292.11°)
OKLaboklab(36.62% -0.0054 -0.1198)
OKLCHoklch(36.62% 0.12 267.4)
XYZxyz(5.8077, 4.6658, 19.9926)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23387D #7D6823
analogous
#23657D #23387D #3B237D
triadic
#23387D #7D2338 #387D23
tetradic
#23387D #7D2365 #7D6823 #237D3B
square
#23387D #7D2365 #7D6823 #237D3B
split-complementary
#23387D #7D3B23 #657D23
monochromatic
#080D1D #16234D #23387D #304DAD #4D6BCD

Accessibility & contrast

On white

10.86
#23387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#23387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23387D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23387D#FFFFFF#000000##FFFFFF
##23387D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23387d;
/* rgb */ color: rgb(35, 56, 125);
/* oklch */ color: oklch(36.6% 0.120 267.4);
Tailwind
colors: {
  custom: {
    50: '#6a6ea3',
    500: '#23387d',
    950: '#000000',
  },
}
SCSS
$custom: #23387d;
$custom-light: #6a6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#23387d",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 226,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36623,
    "c": 0.11996,
    "h": 267.4
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#23387D
secondary
#AF984C
accent
#BC48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23387D

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

Preview Lab → · Contrast checker → · Palette generator →

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