#223395#223395

#223395 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.161 H 269.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#223395
RGBrgb(34, 51, 149)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 58%)
CMYKcmyk(77.2%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.38, 29.53, -55.59)
CIE-LCHlch(26.38, 62.95, 297.98°)
OKLaboklab(37.7% -0.0022 -0.1608)
OKLCHoklch(37.7% 0.161 269.2)
XYZxyz(7.2665, 4.8769, 28.9863)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223395 #958422
analogous
#226C95 #223395 #4A2295
triadic
#223395 #952233 #339522
tetradic
#223395 #95226C #958422 #22954A
square
#223395 #95226C #958422 #22954A
split-complementary
#223395 #954A22 #6C9522
monochromatic
#0B1131 #172263 #223395 #2D44C7 #586BD9

Accessibility & contrast

On white

10.63
#223395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223395
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223395#FFFFFF#000000##FFFFFF
##2233951.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223395;
/* rgb */ color: rgb(34, 51, 149);
/* oklch */ color: oklch(37.7% 0.161 269.2);
Tailwind
colors: {
  custom: {
    50: '#706ab5',
    500: '#223395',
    950: '#000000',
  },
}
SCSS
$custom: #223395;
$custom-light: #706ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#223395",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 231.13,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37703,
    "c": 0.1608,
    "h": 269.2
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#223395
secondary
#BDAE56
accent
#CE42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223395

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

Preview Lab → · Contrast checker → · Palette generator →

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