#23388C#23388C

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

Color values

HEX#23388C
RGBrgb(35, 56, 140)
HSLhsl(228, 60%, 34%)
HSVhsv(228, 75%, 55%)
CMYKcmyk(75%, 60%, 0%, 45.1%)
CIE-LABlab(26.96, 22.81, -49.10)
CIE-LCHlch(26.96, 54.13, 294.92°)
OKLaboklab(37.9% -0.0046 -0.1417)
OKLCHoklch(37.9% 0.142 268.1)
XYZxyz(6.8393, 5.0784, 25.4256)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23388C #8C7723
analogous
#236D8C #23388C #43238C
triadic
#23388C #8C2338 #388C23
tetradic
#23388C #8C236D #8C7723 #238C43
square
#23388C #8C236D #8C7723 #238C43
split-complementary
#23388C #8C4323 #6D8C23
monochromatic
#0B112A #17245B #23388C #2F4CBD #556ED4

Accessibility & contrast

On white

10.42
#23388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#23388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23388C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23388C#FFFFFF#000000##FFFFFF
##23388C1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23388c;
/* rgb */ color: rgb(35, 56, 140);
/* oklch */ color: oklch(37.9% 0.142 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e6eae',
    500: '#23388c',
    950: '#000000',
  },
}
SCSS
$custom: #23388c;
$custom-light: #6e6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#23388c",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 228,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37898,
    "c": 0.14174,
    "h": 268.1
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23388C

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

Preview Lab → · Contrast checker → · Palette generator →

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