#223691#223691

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

Color values

HEX#223691
RGBrgb(34, 54, 145)
HSLhsl(229, 62%, 35%)
HSVhsv(229, 77%, 57%)
CMYKcmyk(76.6%, 62.8%, 0%, 43.1%)
CIE-LABlab(26.80, 25.99, -52.45)
CIE-LCHlch(26.80, 58.53, 296.36°)
OKLaboklab(37.9% -0.0041 -0.1515)
OKLCHoklch(37.9% 0.152 268.5)
XYZxyz(7.0879, 5.0220, 27.3784)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223691 #917D22
analogous
#226E91 #223691 #452291
triadic
#223691 #912236 #369122
tetradic
#223691 #91226E #917D22 #229145
square
#223691 #91226E #917D22 #229145
split-complementary
#223691 #914522 #6E9122
monochromatic
#0B112E #16245F #223691 #2E48C3 #566DD7

Accessibility & contrast

On white

10.48
#223691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223691
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223691#FFFFFF#000000##FFFFFF
##2236911.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223691;
/* rgb */ color: rgb(34, 54, 145);
/* oklch */ color: oklch(37.9% 0.152 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f6cb2',
    500: '#223691',
    950: '#000000',
  },
}
SCSS
$custom: #223691;
$custom-light: #6f6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#223691",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 145
  },
  "hsl": {
    "h": 229.189,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.1516,
    "h": 268.5
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#223691
secondary
#BBA953
accent
#C843E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223691

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

Preview Lab → · Contrast checker → · Palette generator →

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