#223883#223883

#223883 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.129 H 267.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#223883
RGBrgb(34, 56, 131)
HSLhsl(226, 59%, 32%)
HSVhsv(226, 74%, 51%)
CMYKcmyk(74%, 57.3%, 0%, 48.6%)
CIE-LABlab(26.18, 19.15, -44.77)
CIE-LCHlch(26.18, 48.69, 293.16°)
OKLaboklab(37.07% -0.006 -0.129)
OKLCHoklch(37.07% 0.129 267.4)
XYZxyz(6.1692, 4.8065, 22.0709)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223883 #836D22
analogous
#226883 #223883 #3D2283
triadic
#223883 #832238 #388322
tetradic
#223883 #832268 #836D22 #22833D
square
#223883 #832268 #836D22 #22833D
split-complementary
#223883 #833D22 #688322
monochromatic
#090E22 #152352 #223883 #2F4DB4 #4E6CD1

Accessibility & contrast

On white

10.71
#223883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223883
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223883#FFFFFF#000000##FFFFFF
##2238831.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223883;
/* rgb */ color: rgb(34, 56, 131);
/* oklch */ color: oklch(37.1% 0.129 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6ea8',
    500: '#223883',
    950: '#000000',
  },
}
SCSS
$custom: #223883;
$custom-light: #6b6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#223883",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 226.392,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3707,
    "c": 0.1291,
    "h": 267.4
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#223883
secondary
#B49D4C
accent
#BF46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223883

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

Preview Lab → · Contrast checker → · Palette generator →

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