#23299F#23299F

#23299F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.185 H 270.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#23299F
RGBrgb(35, 41, 159)
HSLhsl(237, 64%, 38%)
HSVhsv(237, 78%, 62%)
CMYKcmyk(78%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.09, 39.62, -63.82)
CIE-LCHlch(25.09, 75.12, 301.83°)
OKLaboklab(37.09% 0.0031 -0.1848)
OKLCHoklch(37.09% 0.185 270.9)
XYZxyz(7.7420, 4.4456, 33.2442)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23299F #9F9923
analogous
#23679F #23299F #5B239F
triadic
#23299F #9F2329 #299F23
tetradic
#23299F #9F2367 #9F9923 #239F5B
square
#23299F #9F2367 #9F9923 #239F5B
split-complementary
#23299F #9F5B23 #679F23
monochromatic
#0D0F3B #181C6D #23299F #2E36D1 #6066DC

Accessibility & contrast

On white

11.12
#23299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#23299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23299F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23299F#FFFFFF#000000##FFFFFF
##23299F1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23299f;
/* rgb */ color: rgb(35, 41, 159);
/* oklch */ color: oklch(37.1% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#7464bd',
    500: '#23299f',
    950: '#000000',
  },
}
SCSS
$custom: #23299f;
$custom-light: #7464bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23299f",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 237.097,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37086,
    "c": 0.18483,
    "h": 270.9
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23299F

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

Preview Lab → · Contrast checker → · Palette generator →

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