#23378C#23378C

#23378C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.143 H 268.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#23378C
RGBrgb(35, 55, 140)
HSLhsl(229, 60%, 34%)
HSVhsv(229, 75%, 55%)
CMYKcmyk(75%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.68, 23.49, -49.54)
CIE-LCHlch(26.68, 54.83, 295.37°)
OKLaboklab(37.7% -0.0039 -0.143)
OKLCHoklch(37.7% 0.143 268.5)
XYZxyz(6.7913, 4.9824, 25.4096)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23378C #8C7823
analogous
#236C8C #23378C #43238C
triadic
#23378C #8C2337 #378C23
tetradic
#23378C #8C236C #8C7823 #238C43
square
#23378C #8C236C #8C7823 #238C43
split-complementary
#23378C #8C4323 #6C8C23
monochromatic
#0B112A #17245B #23378C #2F4ABD #556DD4

Accessibility & contrast

On white

10.52
#23378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#23378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23378C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23378C#FFFFFF#000000##FFFFFF
##23378C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23378c;
/* rgb */ color: rgb(35, 55, 140);
/* oklch */ color: oklch(37.7% 0.143 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e6dae',
    500: '#23378c',
    950: '#000000',
  },
}
SCSS
$custom: #23378c;
$custom-light: #6e6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#23378c",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 228.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37695,
    "c": 0.14303,
    "h": 268.5
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#23378C
secondary
#B8A552
accent
#C545E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #23378C

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

Preview Lab → · Contrast checker → · Palette generator →

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