#23387E#23387E

#23387E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.121 H 267.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#23387E
RGBrgb(35, 56, 126)
HSLhsl(226, 57%, 32%)
HSVhsv(226, 72%, 49%)
CMYKcmyk(72.2%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.84, 17.33, -42.18)
CIE-LCHlch(25.84, 45.60, 292.33°)
OKLaboklab(36.71% -0.0053 -0.1213)
OKLCHoklch(36.71% 0.121 267.5)
XYZxyz(5.8719, 4.6914, 20.3307)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23387E #7E6923
analogous
#23667E #23387E #3C237E
triadic
#23387E #7E2338 #387E23
tetradic
#23387E #7E2366 #7E6923 #237E3C
square
#23387E #7E2366 #7E6923 #237E3C
split-complementary
#23387E #7E3C23 #667E23
monochromatic
#080D1E #16234E #23387E #304DAE #4E6BCE

Accessibility & contrast

On white

10.83
#23387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#23387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23387E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23387E#FFFFFF#000000##FFFFFF
##23387E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054280
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23387e;
/* rgb */ color: rgb(35, 56, 126);
/* oklch */ color: oklch(36.7% 0.121 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a6ea4',
    500: '#23387e',
    950: '#000000',
  },
}
SCSS
$custom: #23387e;
$custom-light: #6a6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#23387e",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 226.154,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36705,
    "c": 0.12145,
    "h": 267.5
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#23387E
secondary
#B0994C
accent
#BD48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23387E

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

Preview Lab → · Contrast checker → · Palette generator →

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