#223281#223281

#223281 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.134 H 269.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#223281
RGBrgb(34, 50, 129)
HSLhsl(230, 58%, 32%)
HSVhsv(230, 74%, 51%)
CMYKcmyk(73.6%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.34, 22.53, -46.50)
CIE-LCHlch(24.34, 51.67, 295.85°)
OKLaboklab(35.64% -0.001 -0.1341)
OKLCHoklch(35.64% 0.134 269.6)
XYZxyz(5.7614, 4.2057, 21.2728)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223281 #817122
analogous
#226281 #223281 #422281
triadic
#223281 #812232 #328122
tetradic
#223281 #812262 #817122 #228142
square
#223281 #812262 #817122 #228142
split-complementary
#223281 #814222 #628122
monochromatic
#080C20 #151F51 #223281 #2F45B1 #4D63D0

Accessibility & contrast

On white

11.41
#223281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#223281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223281
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223281#FFFFFF#000000##FFFFFF
##2232811.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223281;
/* rgb */ color: rgb(34, 50, 129);
/* oklch */ color: oklch(35.6% 0.134 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b69a6',
    500: '#223281',
    950: '#000000',
  },
}
SCSS
$custom: #223281;
$custom-light: #6b69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#223281",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 229.895,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.13414,
    "h": 269.6
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

primary
#223281
secondary
#B3A24B
accent
#C746E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #223281

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

Preview Lab → · Contrast checker → · Palette generator →

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