#23278E#23278E

#23278E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.165 H 272.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#23278E
RGBrgb(35, 39, 142)
HSLhsl(238, 60%, 35%)
HSVhsv(238, 75%, 56%)
CMYKcmyk(75.4%, 72.5%, 0%, 44.3%)
CIE-LABlab(22.86, 34.83, -57.04)
CIE-LCHlch(22.86, 66.83, 301.41°)
OKLaboklab(34.96% 0.0066 -0.165)
OKLCHoklch(34.96% 0.165 272.3)
XYZxyz(6.2995, 3.7607, 25.9798)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23278E #8E8A23
analogous
#235D8E #23278E #55238E
triadic
#23278E #8E2327 #278E23
tetradic
#23278E #8E235D #8E8A23 #238E55
square
#23278E #8E235D #8E8A23 #238E55
split-complementary
#23278E #8E5523 #5D8E23
monochromatic
#0B0C2C #171A5D #23278E #2F34BF #565BD5

Accessibility & contrast

On white

11.98
#23278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23278E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23278E#FFFFFF#000000##FFFFFF
##23278E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23278e;
/* rgb */ color: rgb(35, 39, 142);
/* oklch */ color: oklch(35.0% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#7062b0',
    500: '#23278e',
    950: '#000000',
  },
}
SCSS
$custom: #23278e;
$custom-light: #7062b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23278e",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 237.757,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.16517,
    "h": 272.3
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#23278E
secondary
#B9B653
accent
#DE44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23278E

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

Preview Lab → · Contrast checker → · Palette generator →

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