#223695#223695

#223695 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.157 H 268.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#223695
RGBrgb(34, 54, 149)
HSLhsl(230, 63%, 36%)
HSVhsv(230, 77%, 58%)
CMYKcmyk(77.2%, 63.8%, 0%, 41.6%)
CIE-LABlab(27.15, 27.52, -54.33)
CIE-LCHlch(27.15, 60.90, 296.87°)
OKLaboklab(38.27% -0.0042 -0.1571)
OKLCHoklch(38.27% 0.157 268.5)
XYZxyz(7.4018, 5.1475, 29.0314)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223695 #958122
analogous
#226F95 #223695 #472295
triadic
#223695 #952236 #369522
tetradic
#223695 #95226F #958122 #229547
square
#223695 #95226F #958122 #229547
split-complementary
#223695 #954722 #6F9522
monochromatic
#0B1231 #172463 #223695 #2D48C7 #586FD9

Accessibility & contrast

On white

10.35
#223695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223695
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223695#FFFFFF#000000##FFFFFF
##2236951.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223695;
/* rgb */ color: rgb(34, 54, 149);
/* oklch */ color: oklch(38.3% 0.157 268.5);
Tailwind
colors: {
  custom: {
    50: '#706cb5',
    500: '#223695',
    950: '#000000',
  },
}
SCSS
$custom: #223695;
$custom-light: #706cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#223695",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 229.565,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.15712,
    "h": 268.5
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#223695
secondary
#BDAB56
accent
#C942E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223695

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

Preview Lab → · Contrast checker → · Palette generator →

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