#223995#223995

#223995 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.153 H 267.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#223995
RGBrgb(34, 57, 149)
HSLhsl(228, 63%, 36%)
HSVhsv(228, 77%, 58%)
CMYKcmyk(77.2%, 61.7%, 0%, 41.6%)
CIE-LABlab(27.94, 25.49, -53.04)
CIE-LCHlch(27.94, 58.85, 295.67°)
OKLaboklab(38.86% -0.0062 -0.1532)
OKLCHoklch(38.86% 0.153 267.7)
XYZxyz(7.5457, 5.4354, 29.0794)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223995 #957E22
analogous
#227295 #223995 #442295
triadic
#223995 #952239 #399522
tetradic
#223995 #952272 #957E22 #229544
square
#223995 #952272 #957E22 #229544
split-complementary
#223995 #954422 #729522
monochromatic
#0B1331 #172663 #223995 #2D4CC7 #5872D9

Accessibility & contrast

On white

10.06
#223995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223995
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223995#FFFFFF#000000##FFFFFF
##2239951.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223995;
/* rgb */ color: rgb(34, 57, 149);
/* oklch */ color: oklch(38.9% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#706fb5',
    500: '#223995',
    950: '#000000',
  },
}
SCSS
$custom: #223995;
$custom-light: #706fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#223995",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 228,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.15336,
    "h": 267.7
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#223995
secondary
#BDA856
accent
#C542E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223995

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

Preview Lab → · Contrast checker → · Palette generator →

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