#23388F#23388F

#23388F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.146 H 268.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#23388F
RGBrgb(35, 56, 143)
HSLhsl(228, 61%, 35%)
HSVhsv(228, 76%, 56%)
CMYKcmyk(75.5%, 60.8%, 0%, 43.9%)
CIE-LABlab(27.21, 23.97, -50.54)
CIE-LCHlch(27.21, 55.94, 295.38°)
OKLaboklab(38.16% -0.0046 -0.1459)
OKLCHoklch(38.16% 0.146 268.2)
XYZxyz(7.0635, 5.1681, 26.6066)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23388F #8F7A23
analogous
#236E8F #23388F #44238F
triadic
#23388F #8F2338 #388F23
tetradic
#23388F #8F236E #8F7A23 #238F44
square
#23388F #8F236E #8F7A23 #238F44
split-complementary
#23388F #8F4423 #6E8F23
monochromatic
#0B112D #17255E #23388F #2F4BC0 #576FD6

Accessibility & contrast

On white

10.33
#23388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#23388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23388F
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23388F#FFFFFF#000000##FFFFFF
##23388F1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23388f;
/* rgb */ color: rgb(35, 56, 143);
/* oklch */ color: oklch(38.2% 0.146 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f6eb1',
    500: '#23388f',
    950: '#000000',
  },
}
SCSS
$custom: #23388f;
$custom-light: #6f6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#23388f",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 228.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38164,
    "c": 0.14597,
    "h": 268.2
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#23388F
secondary
#BAA654
accent
#C544E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #23388F

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

Preview Lab → · Contrast checker → · Palette generator →

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