#223081#223081

#223081 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.137 H 270.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#223081
RGBrgb(34, 48, 129)
HSLhsl(231, 58%, 32%)
HSVhsv(231, 74%, 51%)
CMYKcmyk(73.6%, 62.8%, 0%, 49.4%)
CIE-LABlab(23.80, 23.91, -47.38)
CIE-LCHlch(23.80, 53.08, 296.78°)
OKLaboklab(35.24% 0.0006 -0.1368)
OKLCHoklch(35.24% 0.137 270.2)
XYZxyz(5.6777, 4.0384, 21.2449)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223081 #817322
analogous
#226081 #223081 #442281
triadic
#223081 #812230 #308122
tetradic
#223081 #812260 #817322 #228144
square
#223081 #812260 #817322 #228144
split-complementary
#223081 #814422 #608122
monochromatic
#080C20 #151E51 #223081 #2F42B1 #4D61D0

Accessibility & contrast

On white

11.62
#223081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#223081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223081
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223081#FFFFFF#000000##FFFFFF
##2230811.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223081;
/* rgb */ color: rgb(34, 48, 129);
/* oklch */ color: oklch(35.2% 0.137 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b68a6',
    500: '#223081',
    950: '#000000',
  },
}
SCSS
$custom: #223081;
$custom-light: #6b68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#223081",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 231.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.13676,
    "h": 270.2
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#223081
secondary
#B3A44B
accent
#CB46E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #223081

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

Preview Lab → · Contrast checker → · Palette generator →

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