#223394#223394

#223394 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.159 H 269.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#223394
RGBrgb(34, 51, 148)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 58%)
CMYKcmyk(77%, 65.5%, 0%, 42%)
CIE-LABlab(26.29, 29.15, -55.13)
CIE-LCHlch(26.29, 62.36, 297.87°)
OKLaboklab(37.61% -0.0022 -0.1594)
OKLCHoklch(37.61% 0.159 269.2)
XYZxyz(7.1870, 4.8451, 28.5677)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223394 #948322
analogous
#226C94 #223394 #4A2294
triadic
#223394 #942233 #339422
tetradic
#223394 #94226C #948322 #22944A
square
#223394 #94226C #948322 #22944A
split-complementary
#223394 #944A22 #6C9422
monochromatic
#0B1130 #172262 #223394 #2D44C6 #586BD9

Accessibility & contrast

On white

10.66
#223394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223394
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223394#FFFFFF#000000##FFFFFF
##2233941.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223394;
/* rgb */ color: rgb(34, 51, 148);
/* oklch */ color: oklch(37.6% 0.159 269.2);
Tailwind
colors: {
  custom: {
    50: '#706ab4',
    500: '#223394',
    950: '#000000',
  },
}
SCSS
$custom: #223394;
$custom-light: #706ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#223394",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 231.053,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37607,
    "c": 0.15943,
    "h": 269.2
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#223394
secondary
#BDAD55
accent
#CD42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223394

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

Preview Lab → · Contrast checker → · Palette generator →

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