#23299D#23299D

#23299D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.182 H 271.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#23299D
RGBrgb(35, 41, 157)
HSLhsl(237, 64%, 38%)
HSVhsv(237, 78%, 62%)
CMYKcmyk(77.7%, 73.9%, 0%, 38.4%)
CIE-LABlab(24.88, 38.92, -62.96)
CIE-LCHlch(24.88, 74.01, 301.72°)
OKLaboklab(36.87% 0.0034 -0.1823)
OKLCHoklch(36.87% 0.182 271.1)
XYZxyz(7.5698, 4.3767, 32.3376)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23299D #9D9723
analogous
#23669D #23299D #5A239D
triadic
#23299D #9D2329 #299D23
tetradic
#23299D #9D2366 #9D9723 #239D5A
square
#23299D #9D2366 #9D9723 #239D5A
split-complementary
#23299D #9D5A23 #669D23
monochromatic
#0D0F39 #181C6B #23299D #2E36CF #5F65DB

Accessibility & contrast

On white

11.20
#23299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23299D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23299D#FFFFFF#000000##FFFFFF
##23299D1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23299d;
/* rgb */ color: rgb(35, 41, 157);
/* oklch */ color: oklch(36.9% 0.182 271.1);
Tailwind
colors: {
  custom: {
    50: '#7464bb',
    500: '#23299d',
    950: '#000000',
  },
}
SCSS
$custom: #23299d;
$custom-light: #7464bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23299d",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 237.049,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.18231,
    "h": 271.1
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#23299D
secondary
#C0BB5C
accent
#DE41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #23299D

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

Preview Lab → · Contrast checker → · Palette generator →

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