#223181#223181

#223181 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.135 H 269.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#223181
RGBrgb(34, 49, 129)
HSLhsl(231, 58%, 32%)
HSVhsv(231, 74%, 51%)
CMYKcmyk(73.6%, 62%, 0%, 49.4%)
CIE-LABlab(24.07, 23.22, -46.94)
CIE-LCHlch(24.07, 52.37, 296.32°)
OKLaboklab(35.44% -0.0002 -0.1355)
OKLCHoklch(35.44% 0.135 269.9)
XYZxyz(5.7191, 4.1211, 21.2587)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223181 #817222
analogous
#226181 #223181 #432281
triadic
#223181 #812231 #318122
tetradic
#223181 #812261 #817222 #228143
square
#223181 #812261 #817222 #228143
split-complementary
#223181 #814322 #618122
monochromatic
#080C20 #151F51 #223181 #2F43B1 #4D62D0

Accessibility & contrast

On white

11.51
#223181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#223181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223181
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223181#FFFFFF#000000##FFFFFF
##2231811.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223181;
/* rgb */ color: rgb(34, 49, 129);
/* oklch */ color: oklch(35.4% 0.135 269.9);
Tailwind
colors: {
  custom: {
    50: '#6b68a6',
    500: '#223181',
    950: '#000000',
  },
}
SCSS
$custom: #223181;
$custom-light: #6b68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#223181",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 230.526,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35443,
    "c": 0.13546,
    "h": 269.9
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#223181
secondary
#B3A34B
accent
#C946E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #223181

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

Preview Lab → · Contrast checker → · Palette generator →

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