#23228D#23228D

#23228D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.169 H 273.2°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#23228D
RGBrgb(35, 34, 141)
HSLhsl(241, 61%, 34%)
HSVhsv(241, 76%, 55%)
CMYKcmyk(75.2%, 75.9%, 0%, 44.7%)
CIE-LABlab(21.67, 37.51, -58.39)
CIE-LCHlch(21.67, 69.40, 302.72°)
OKLaboklab(34.07% 0.0094 -0.1689)
OKLCHoklch(34.07% 0.169 273.2)
XYZxyz(6.0713, 3.4238, 25.5350)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23228D #8C8D22
analogous
#22578D #23228D #59228D
triadic
#23228D #8D2322 #228D23
tetradic
#23228D #8D2257 #8C8D22 #228D59
square
#23228D #8D2257 #8C8D22 #228D59
split-complementary
#23228D #8D5922 #578D22
monochromatic
#0B0A2A #17165C #23228D #2F2EBE #5554D6

Accessibility & contrast

On white

12.46
#23228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#23228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23228D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23228D#FFFFFF#000000##FFFFFF
##23228D1.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23228d;
/* rgb */ color: rgb(35, 34, 141);
/* oklch */ color: oklch(34.1% 0.169 273.2);
Tailwind
colors: {
  custom: {
    50: '#705faf',
    500: '#23228d',
    950: '#000000',
  },
}
SCSS
$custom: #23228d;
$custom-light: #705faf;
$custom-dark: #000000;
JSON
{
  "hex": "#23228d",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 240.561,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3407,
    "c": 0.16921,
    "h": 273.2
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#23228D
secondary
#B8B951
accent
#E444E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #23228D

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

Preview Lab → · Contrast checker → · Palette generator →

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