#23278B#23278B

#23278B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.161 H 272.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#23278B
RGBrgb(35, 39, 139)
HSLhsl(238, 60%, 34%)
HSVhsv(238, 75%, 55%)
CMYKcmyk(74.8%, 71.9%, 0%, 45.5%)
CIE-LABlab(22.56, 33.75, -55.68)
CIE-LCHlch(22.56, 65.11, 301.22°)
OKLaboklab(34.64% 0.0071 -0.1611)
OKLCHoklch(34.64% 0.161 272.5)
XYZxyz(6.0773, 3.6718, 24.8095)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23278B #8B8723
analogous
#235B8B #23278B #53238B
triadic
#23278B #8B2327 #278B23
tetradic
#23278B #8B235B #8B8723 #238B53
square
#23278B #8B235B #8B8723 #238B53
split-complementary
#23278B #8B5323 #5B8B23
monochromatic
#0A0C29 #17195A #23278B #2F35BC #5459D4

Accessibility & contrast

On white

12.11
#23278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#23278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23278B
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23278B#FFFFFF#000000##FFFFFF
##23278B1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23278b;
/* rgb */ color: rgb(35, 39, 139);
/* oklch */ color: oklch(34.6% 0.161 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f62ae',
    500: '#23278b',
    950: '#000000',
  },
}
SCSS
$custom: #23278b;
$custom-light: #6f62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23278b",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 237.692,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34641,
    "c": 0.16122,
    "h": 272.5
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#23278B
secondary
#B8B452
accent
#DD45E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #23278B

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

Preview Lab → · Contrast checker → · Palette generator →

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