#23229B#23229B

#23229B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.187 H 272.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#23229B
RGBrgb(35, 34, 155)
HSLhsl(240, 64%, 37%)
HSVhsv(240, 78%, 61%)
CMYKcmyk(77.4%, 78.1%, 0%, 39.2%)
CIE-LABlab(23.23, 42.28, -64.46)
CIE-LCHlch(23.23, 77.09, 303.26°)
OKLaboklab(35.63% 0.0067 -0.1866)
OKLCHoklch(35.63% 0.187 272)
XYZxyz(7.1796, 3.8672, 31.3720)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23229B #9A9B22
analogous
#225E9B #23229B #60229B
triadic
#23229B #9B2322 #229B23
tetradic
#23229B #9B225E #9A9B22 #229B60
square
#23229B #9B225E #9A9B22 #229B60
split-complementary
#23229B #9B6022 #5E9B22
monochromatic
#0C0C37 #181769 #23229B #2E2DCD #5D5CDB

Accessibility & contrast

On white

11.84
#23229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#23229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23229B
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23229B#FFFFFF#000000##FFFFFF
##23229B1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23229b;
/* rgb */ color: rgb(35, 34, 155);
/* oklch */ color: oklch(35.6% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#745fba',
    500: '#23229b',
    950: '#000000',
  },
}
SCSS
$custom: #23229b;
$custom-light: #745fba;
$custom-dark: #000000;
JSON
{
  "hex": "#23229b",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 240.496,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35633,
    "c": 0.18672,
    "h": 272
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#23229B
secondary
#BFC059
accent
#E741E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23229B

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

Preview Lab → · Contrast checker → · Palette generator →

#23229B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva