#23388B#23388B

#23388B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.140 H 268.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#23388B
RGBrgb(35, 56, 139)
HSLhsl(228, 60%, 34%)
HSVhsv(228, 75%, 55%)
CMYKcmyk(74.8%, 59.7%, 0%, 45.5%)
CIE-LABlab(26.87, 22.42, -48.61)
CIE-LCHlch(26.87, 53.53, 294.76°)
OKLaboklab(37.81% -0.0046 -0.1402)
OKLCHoklch(37.81% 0.14 268.1)
XYZxyz(6.7659, 5.0490, 25.0391)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23388B #8B7623
analogous
#236C8B #23388B #42238B
triadic
#23388B #8B2338 #388B23
tetradic
#23388B #8B236C #8B7623 #238B42
square
#23388B #8B236C #8B7623 #238B42
split-complementary
#23388B #8B4223 #6C8B23
monochromatic
#0A1129 #17245A #23388B #2F4CBC #546ED4

Accessibility & contrast

On white

10.45
#23388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#23388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23388B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23388B#FFFFFF#000000##FFFFFF
##23388B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23388b;
/* rgb */ color: rgb(35, 56, 139);
/* oklch */ color: oklch(37.8% 0.140 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e6eae',
    500: '#23388b',
    950: '#000000',
  },
}
SCSS
$custom: #23388b;
$custom-light: #6e6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#23388b",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 227.885,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37811,
    "c": 0.14032,
    "h": 268.1
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#23388B
secondary
#B8A352
accent
#C345E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #23388B

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

Preview Lab → · Contrast checker → · Palette generator →

#23388B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva