#23299E#23299E

#23299E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.184 H 271.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#23299E
RGBrgb(35, 41, 158)
HSLhsl(237, 64%, 38%)
HSVhsv(237, 78%, 62%)
CMYKcmyk(77.8%, 74.1%, 0%, 38%)
CIE-LABlab(24.99, 39.27, -63.39)
CIE-LCHlch(24.99, 74.57, 301.78°)
OKLaboklab(36.98% 0.0032 -0.1835)
OKLCHoklch(36.98% 0.184 271)
XYZxyz(7.6555, 4.4110, 32.7891)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23299E #9E9823
analogous
#23679E #23299E #5A239E
triadic
#23299E #9E2329 #299E23
tetradic
#23299E #9E2367 #9E9823 #239E5A
square
#23299E #9E2367 #9E9823 #239E5A
split-complementary
#23299E #9E5A23 #679E23
monochromatic
#0D0F3A #181C6C #23299E #2E36D0 #6066DC

Accessibility & contrast

On white

11.16
#23299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#23299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23299E
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23299E#FFFFFF#000000##FFFFFF
##23299E1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23299e;
/* rgb */ color: rgb(35, 41, 158);
/* oklch */ color: oklch(37.0% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#7464bc',
    500: '#23299e',
    950: '#000000',
  },
}
SCSS
$custom: #23299e;
$custom-light: #7464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23299e",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 237.073,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36978,
    "c": 0.18357,
    "h": 271
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#23299E
secondary
#C1BC5C
accent
#DF41E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #23299E

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

Preview Lab → · Contrast checker → · Palette generator →

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