#223595#223595

#223595 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.158 H 268.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#223595
RGBrgb(34, 53, 149)
HSLhsl(230, 63%, 36%)
HSVhsv(230, 77%, 58%)
CMYKcmyk(77.2%, 64.4%, 0%, 41.6%)
CIE-LABlab(26.89, 28.20, -54.75)
CIE-LCHlch(26.89, 61.58, 297.25°)
OKLaboklab(38.08% -0.0035 -0.1583)
OKLCHoklch(38.08% 0.158 268.7)
XYZxyz(7.3557, 5.0554, 29.0161)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223595 #958222
analogous
#226E95 #223595 #482295
triadic
#223595 #952235 #359522
tetradic
#223595 #95226E #958222 #229548
square
#223595 #95226E #958222 #229548
split-complementary
#223595 #954822 #6E9522
monochromatic
#0B1231 #172363 #223595 #2D47C7 #586ED9

Accessibility & contrast

On white

10.44
#223595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223595
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223595#FFFFFF#000000##FFFFFF
##2235951.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223595;
/* rgb */ color: rgb(34, 53, 149);
/* oklch */ color: oklch(38.1% 0.158 268.7);
Tailwind
colors: {
  custom: {
    50: '#706cb5',
    500: '#223595',
    950: '#000000',
  },
}
SCSS
$custom: #223595;
$custom-light: #706cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#223595",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 230.087,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38079,
    "c": 0.15835,
    "h": 268.7
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#223595
secondary
#BDAC56
accent
#CB42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223595

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

Preview Lab → · Contrast checker → · Palette generator →

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