#22236F#22236F

#22236F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.128 H 275.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#22236F
RGBrgb(34, 35, 111)
HSLhsl(239, 53%, 28%)
HSVhsv(239, 69%, 44%)
CMYKcmyk(69.4%, 68.5%, 0%, 56.5%)
CIE-LABlab(18.75, 25.96, -44.14)
CIE-LCHlch(18.75, 51.21, 300.46°)
OKLaboklab(31.03% 0.0121 -0.1273)
OKLCHoklch(31.03% 0.128 275.4)
XYZxyz(4.1290, 2.6895, 15.3374)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22236F #6F6E22
analogous
#22496F #22236F #47226F
triadic
#22236F #6F2223 #236F22
tetradic
#22236F #6F2249 #6F6E22 #226F47
square
#22236F #6F2249 #6F6E22 #226F47
split-complementary
#22236F #6F4722 #496F22
monochromatic
#070717 #141440 #22236F #30329E #4547C6

Accessibility & contrast

On white

13.65
#22236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#22236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22236F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22236F#FFFFFF#000000##FFFFFF
##22236F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22236f;
/* rgb */ color: rgb(34, 35, 111);
/* oklch */ color: oklch(31.0% 0.128 275.4);
Tailwind
colors: {
  custom: {
    50: '#685e99',
    500: '#22236f',
    950: '#000000',
  },
}
SCSS
$custom: #22236f;
$custom-light: #685e99;
$custom-dark: #000000;
JSON
{
  "hex": "#22236f",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 239.221,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3103,
    "c": 0.12792,
    "h": 275.4
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#22236F
secondary
#A2A14A
accent
#DB4BDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22236F

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

Preview Lab → · Contrast checker → · Palette generator →

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