#223288#223288

#223288 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.144 H 269.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#223288
RGBrgb(34, 50, 136)
HSLhsl(231, 60%, 33%)
HSVhsv(231, 75%, 53%)
CMYKcmyk(75%, 63.2%, 0%, 46.7%)
CIE-LABlab(24.95, 25.24, -49.89)
CIE-LCHlch(24.95, 55.91, 296.84°)
OKLaboklab(36.28% -0.0011 -0.1441)
OKLCHoklch(36.28% 0.144 269.6)
XYZxyz(6.2427, 4.3982, 23.8077)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223288 #887822
analogous
#226588 #223288 #452288
triadic
#223288 #882232 #328822
tetradic
#223288 #882265 #887822 #228845
square
#223288 #882265 #887822 #228845
split-complementary
#223288 #884522 #658822
monochromatic
#0A0E26 #162057 #223288 #2E44B9 #5165D3

Accessibility & contrast

On white

11.17
#223288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#223288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223288
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223288#FFFFFF#000000##FFFFFF
##2232881.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223288;
/* rgb */ color: rgb(34, 50, 136);
/* oklch */ color: oklch(36.3% 0.144 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d69ab',
    500: '#223288',
    950: '#000000',
  },
}
SCSS
$custom: #223288;
$custom-light: #6d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223288",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 230.588,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.1441,
    "h": 269.6
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#223288
secondary
#B7A74F
accent
#CA45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223288

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

Preview Lab → · Contrast checker → · Palette generator →

#223288 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva