#23387F#23387F

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

Color values

HEX#23387F
RGBrgb(35, 56, 127)
HSLhsl(226, 57%, 32%)
HSVhsv(226, 72%, 50%)
CMYKcmyk(72.4%, 55.9%, 0%, 50.2%)
CIE-LABlab(25.91, 17.72, -42.68)
CIE-LCHlch(25.91, 46.22, 292.55°)
OKLaboklab(36.79% -0.0053 -0.1228)
OKLCHoklch(36.79% 0.123 267.5)
XYZxyz(5.9367, 4.7174, 20.6722)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23387F #7F6A23
analogous
#23667F #23387F #3C237F
triadic
#23387F #7F2338 #387F23
tetradic
#23387F #7F2366 #7F6A23 #237F3C
square
#23387F #7F2366 #7F6A23 #237F3C
split-complementary
#23387F #7F3C23 #667F23
monochromatic
#090E1F #16234F #23387F #304DAF #4E6BCE

Accessibility & contrast

On white

10.80
#23387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23387F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23387F#FFFFFF#000000##FFFFFF
##23387F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23387f;
/* rgb */ color: rgb(35, 56, 127);
/* oklch */ color: oklch(36.8% 0.123 267.5);
Tailwind
colors: {
  custom: {
    50: '#6b6ea5',
    500: '#23387f',
    950: '#000000',
  },
}
SCSS
$custom: #23387f;
$custom-light: #6b6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#23387f",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 226.304,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36788,
    "c": 0.12292,
    "h": 267.5
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23387F

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

Preview Lab → · Contrast checker → · Palette generator →

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