#223795#223795

#223795 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.156 H 268.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#223795
RGBrgb(34, 55, 149)
HSLhsl(229, 63%, 36%)
HSVhsv(229, 77%, 58%)
CMYKcmyk(77.2%, 63.1%, 0%, 41.6%)
CIE-LABlab(27.41, 26.85, -53.90)
CIE-LCHlch(27.41, 60.22, 296.48°)
OKLaboklab(38.46% -0.0048 -0.1558)
OKLCHoklch(38.46% 0.156 268.2)
XYZxyz(7.4488, 5.2416, 29.0471)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223795 #958022
analogous
#227095 #223795 #462295
triadic
#223795 #952237 #379522
tetradic
#223795 #952270 #958022 #229546
square
#223795 #952270 #958022 #229546
split-complementary
#223795 #954622 #709522
monochromatic
#0B1231 #172563 #223795 #2D49C7 #5870D9

Accessibility & contrast

On white

10.25
#223795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#223795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223795
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223795#FFFFFF#000000##FFFFFF
##2237951.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223795;
/* rgb */ color: rgb(34, 55, 149);
/* oklch */ color: oklch(38.5% 0.156 268.2);
Tailwind
colors: {
  custom: {
    50: '#706db5',
    500: '#223795',
    950: '#000000',
  },
}
SCSS
$custom: #223795;
$custom-light: #706db5;
$custom-dark: #000000;
JSON
{
  "hex": "#223795",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 229.043,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.15587,
    "h": 268.2
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#223795
secondary
#BDAA56
accent
#C842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223795

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

Preview Lab → · Contrast checker → · Palette generator →

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