#23387C#23387C

#23387C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.118 H 267.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#23387C
RGBrgb(35, 56, 124)
HSLhsl(226, 56%, 31%)
HSVhsv(226, 72%, 49%)
CMYKcmyk(71.8%, 54.8%, 0%, 51.4%)
CIE-LABlab(25.68, 16.54, -41.17)
CIE-LCHlch(25.68, 44.37, 291.89°)
OKLaboklab(36.54% -0.0055 -0.1183)
OKLCHoklch(36.54% 0.118 267.3)
XYZxyz(5.7441, 4.6403, 19.6578)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23387C #7C6723
analogous
#23647C #23387C #3A237C
triadic
#23387C #7C2338 #387C23
tetradic
#23387C #7C2364 #7C6723 #237C3A
square
#23387C #7C2364 #7C6723 #237C3A
split-complementary
#23387C #7C3A23 #647C23
monochromatic
#080D1D #16224C #23387C #304EAC #4D6BCD

Accessibility & contrast

On white

10.89
#23387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23387C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23387C#FFFFFF#000000##FFFFFF
##23387C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23387c;
/* rgb */ color: rgb(35, 56, 124);
/* oklch */ color: oklch(36.5% 0.118 267.3);
Tailwind
colors: {
  custom: {
    50: '#6a6ea2',
    500: '#23387c',
    950: '#000000',
  },
}
SCSS
$custom: #23387c;
$custom-light: #6a6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#23387c",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 225.843,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.11848,
    "h": 267.3
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#23387C
secondary
#AF974C
accent
#BC49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23387C

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

Preview Lab → · Contrast checker → · Palette generator →

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