#223294#223294

#223294 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.161 H 269.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#223294
RGBrgb(34, 50, 148)
HSLhsl(232, 63%, 36%)
HSVhsv(232, 77%, 58%)
CMYKcmyk(77%, 66.2%, 0%, 42%)
CIE-LABlab(26.04, 29.82, -55.54)
CIE-LCHlch(26.04, 63.04, 298.23°)
OKLaboklab(37.42% -0.0015 -0.1606)
OKLCHoklch(37.42% 0.161 269.4)
XYZxyz(7.1437, 4.7586, 28.5532)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223294 #948422
analogous
#226B94 #223294 #4B2294
triadic
#223294 #942232 #329422
tetradic
#223294 #94226B #948422 #22944B
square
#223294 #94226B #948422 #22944B
split-complementary
#223294 #944B22 #6B9422
monochromatic
#0B1030 #172162 #223294 #2D43C6 #586AD9

Accessibility & contrast

On white

10.76
#223294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223294
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223294#FFFFFF#000000##FFFFFF
##2232941.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223294;
/* rgb */ color: rgb(34, 50, 148);
/* oklch */ color: oklch(37.4% 0.161 269.4);
Tailwind
colors: {
  custom: {
    50: '#706ab4',
    500: '#223294',
    950: '#000000',
  },
}
SCSS
$custom: #223294;
$custom-light: #706ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#223294",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 231.579,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.16065,
    "h": 269.4
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#223294
secondary
#BDAE55
accent
#CF42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223294

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

Preview Lab → · Contrast checker → · Palette generator →

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