#23388A#23388A

#23388A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.139 H 268.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#23388A
RGBrgb(35, 56, 138)
HSLhsl(228, 60%, 34%)
HSVhsv(228, 75%, 54%)
CMYKcmyk(74.6%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.79, 22.03, -48.13)
CIE-LCHlch(26.79, 52.93, 294.60°)
OKLaboklab(37.72% -0.0047 -0.1388)
OKLCHoklch(37.72% 0.139 268.1)
XYZxyz(6.6932, 5.0199, 24.6560)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23388A #8A7523
analogous
#236C8A #23388A #42238A
triadic
#23388A #8A2338 #388A23
tetradic
#23388A #8A236C #8A7523 #238A42
square
#23388A #8A236C #8A7523 #238A42
split-complementary
#23388A #8A4223 #6C8A23
monochromatic
#0A1028 #172459 #23388A #2F4CBB #546ED4

Accessibility & contrast

On white

10.48
#23388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#23388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23388A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23388A#FFFFFF#000000##FFFFFF
##23388A1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23388a;
/* rgb */ color: rgb(35, 56, 138);
/* oklch */ color: oklch(37.7% 0.139 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d6ead',
    500: '#23388a',
    950: '#000000',
  },
}
SCSS
$custom: #23388a;
$custom-light: #6d6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#23388a",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 227.767,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37723,
    "c": 0.13889,
    "h": 268.1
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23388A

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

Preview Lab → · Contrast checker → · Palette generator →

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