#23278F#23278F

#23278F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.166 H 272.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#23278F
RGBrgb(35, 39, 143)
HSLhsl(238, 61%, 35%)
HSVhsv(238, 76%, 56%)
CMYKcmyk(75.5%, 72.7%, 0%, 43.9%)
CIE-LABlab(22.97, 35.18, -57.49)
CIE-LCHlch(22.97, 67.40, 301.47°)
OKLaboklab(35.06% 0.0065 -0.1663)
OKLCHoklch(35.06% 0.166 272.2)
XYZxyz(6.3749, 3.7909, 26.3770)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23278F #8F8B23
analogous
#235D8F #23278F #55238F
triadic
#23278F #8F2327 #278F23
tetradic
#23278F #8F235D #8F8B23 #238F55
square
#23278F #8F235D #8F8B23 #238F55
split-complementary
#23278F #8F5523 #5D8F23
monochromatic
#0B0C2D #171A5E #23278F #2F34C0 #575BD6

Accessibility & contrast

On white

11.94
#23278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#23278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23278F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23278F#FFFFFF#000000##FFFFFF
##23278F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23278f;
/* rgb */ color: rgb(35, 39, 143);
/* oklch */ color: oklch(35.1% 0.166 272.2);
Tailwind
colors: {
  custom: {
    50: '#7062b1',
    500: '#23278f',
    950: '#000000',
  },
}
SCSS
$custom: #23278f;
$custom-light: #7062b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23278f",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 237.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.16648,
    "h": 272.2
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23278F

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

Preview Lab → · Contrast checker → · Palette generator →

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