#223992#223992

#223992 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.149 H 267.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#223992
RGBrgb(34, 57, 146)
HSLhsl(228, 62%, 35%)
HSVhsv(228, 77%, 57%)
CMYKcmyk(76.7%, 61%, 0%, 42.7%)
CIE-LABlab(27.68, 24.33, -51.61)
CIE-LCHlch(27.68, 57.06, 295.24°)
OKLaboklab(38.59% -0.0062 -0.1491)
OKLCHoklch(38.59% 0.149 267.6)
XYZxyz(7.3093, 5.3409, 27.8342)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223992 #927B22
analogous
#227192 #223992 #432292
triadic
#223992 #922239 #399222
tetradic
#223992 #922271 #927B22 #229243
square
#223992 #922271 #927B22 #229243
split-complementary
#223992 #924322 #719222
monochromatic
#0B122F #162660 #223992 #2E4CC4 #5771D8

Accessibility & contrast

On white

10.15
#223992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223992
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223992#FFFFFF#000000##FFFFFF
##2239921.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223992;
/* rgb */ color: rgb(34, 57, 146);
/* oklch */ color: oklch(38.6% 0.149 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fb3',
    500: '#223992',
    950: '#000000',
  },
}
SCSS
$custom: #223992;
$custom-light: #6f6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#223992",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 227.679,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38585,
    "c": 0.14919,
    "h": 267.6
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#223992
secondary
#BCA654
accent
#C443E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223992

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

Preview Lab → · Contrast checker → · Palette generator →

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