#23278D#23278D

#23278D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.164 H 272.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#23278D
RGBrgb(35, 39, 141)
HSLhsl(238, 60%, 35%)
HSVhsv(238, 75%, 55%)
CMYKcmyk(75.2%, 72.3%, 0%, 44.7%)
CIE-LABlab(22.76, 34.47, -56.59)
CIE-LCHlch(22.76, 66.26, 301.35°)
OKLaboklab(34.85% 0.0068 -0.1637)
OKLCHoklch(34.85% 0.164 272.4)
XYZxyz(6.2248, 3.7308, 25.5862)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23278D #8D8923
analogous
#235C8D #23278D #54238D
triadic
#23278D #8D2327 #278D23
tetradic
#23278D #8D235C #8D8923 #238D54
square
#23278D #8D235C #8D8923 #238D54
split-complementary
#23278D #8D5423 #5C8D23
monochromatic
#0B0C2B #17195C #23278D #2F35BE #555AD5

Accessibility & contrast

On white

12.03
#23278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#23278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23278D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23278D#FFFFFF#000000##FFFFFF
##23278D1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23278d;
/* rgb */ color: rgb(35, 39, 141);
/* oklch */ color: oklch(34.9% 0.164 272.4);
Tailwind
colors: {
  custom: {
    50: '#7062af',
    500: '#23278d',
    950: '#000000',
  },
}
SCSS
$custom: #23278d;
$custom-light: #7062af;
$custom-dark: #000000;
JSON
{
  "hex": "#23278d",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 237.736,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.16386,
    "h": 272.4
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#23278D
secondary
#B9B553
accent
#DD44E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #23278D

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

Preview Lab → · Contrast checker → · Palette generator →

#23278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva