#23378E#23378E

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

Color values

HEX#23378E
RGBrgb(35, 55, 142)
HSLhsl(229, 60%, 35%)
HSVhsv(229, 75%, 56%)
CMYKcmyk(75.4%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.85, 24.27, -50.50)
CIE-LCHlch(26.85, 56.03, 295.67°)
OKLaboklab(37.87% -0.0038 -0.1458)
OKLCHoklch(37.87% 0.146 268.5)
XYZxyz(6.9401, 5.0420, 26.1934)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23378E #8E7A23
analogous
#236D8E #23378E #45238E
triadic
#23378E #8E2337 #378E23
tetradic
#23378E #8E236D #8E7A23 #238E45
square
#23378E #8E236D #8E7A23 #238E45
split-complementary
#23378E #8E4523 #6D8E23
monochromatic
#0B112C #17245D #23378E #2F4ABF #566ED5

Accessibility & contrast

On white

10.46
#23378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#23378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23378E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23378E#FFFFFF#000000##FFFFFF
##23378E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23378e;
/* rgb */ color: rgb(35, 55, 142);
/* oklch */ color: oklch(37.9% 0.146 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e6db0',
    500: '#23378e',
    950: '#000000',
  },
}
SCSS
$custom: #23378e;
$custom-light: #6e6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#23378e",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 228.785,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.14585,
    "h": 268.5
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#23378E
secondary
#B9A653
accent
#C644E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #23378E

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

Preview Lab → · Contrast checker → · Palette generator →

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