#223495#223495

#223495 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.160 H 269.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#223495
RGBrgb(34, 52, 149)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 58%)
CMYKcmyk(77.2%, 65.1%, 0%, 41.6%)
CIE-LABlab(26.64, 28.87, -55.17)
CIE-LCHlch(26.64, 62.27, 297.62°)
OKLaboklab(37.89% -0.0029 -0.1595)
OKLCHoklch(37.89% 0.16 269)
XYZxyz(7.3106, 4.9652, 29.0010)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223495 #958322
analogous
#226D95 #223495 #492295
triadic
#223495 #952234 #349522
tetradic
#223495 #95226D #958322 #229549
square
#223495 #95226D #958322 #229549
split-complementary
#223495 #954922 #6D9522
monochromatic
#0B1131 #172363 #223495 #2D45C7 #586DD9

Accessibility & contrast

On white

10.54
#223495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223495
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223495#FFFFFF#000000##FFFFFF
##2234951.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223495;
/* rgb */ color: rgb(34, 52, 149);
/* oklch */ color: oklch(37.9% 0.160 269.0);
Tailwind
colors: {
  custom: {
    50: '#706bb5',
    500: '#223495',
    950: '#000000',
  },
}
SCSS
$custom: #223495;
$custom-light: #706bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#223495",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 230.609,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.15958,
    "h": 269
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#223495
secondary
#BDAD56
accent
#CC42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223495

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

Preview Lab → · Contrast checker → · Palette generator →

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