#223993#223993

#223993 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.151 H 267.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#223993
RGBrgb(34, 57, 147)
HSLhsl(228, 62%, 35%)
HSVhsv(228, 77%, 58%)
CMYKcmyk(76.9%, 61.2%, 0%, 42.4%)
CIE-LABlab(27.77, 24.72, -52.09)
CIE-LCHlch(27.77, 57.66, 295.39°)
OKLaboklab(38.67% -0.0062 -0.1505)
OKLCHoklch(38.67% 0.151 267.6)
XYZxyz(7.3874, 5.3721, 28.2457)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223993 #937C22
analogous
#227193 #223993 #442293
triadic
#223993 #932239 #399322
tetradic
#223993 #932271 #937C22 #229344
square
#223993 #932271 #937C22 #229344
split-complementary
#223993 #934422 #719322
monochromatic
#0B1230 #172661 #223993 #2D4CC5 #5771D8

Accessibility & contrast

On white

10.12
#223993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223993
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223993#FFFFFF#000000##FFFFFF
##2239931.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223993;
/* rgb */ color: rgb(34, 57, 147);
/* oklch */ color: oklch(38.7% 0.151 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fb3',
    500: '#223993',
    950: '#000000',
  },
}
SCSS
$custom: #223993;
$custom-light: #6f6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#223993",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 227.788,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38675,
    "c": 0.15059,
    "h": 267.6
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#223993
secondary
#BCA755
accent
#C442E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223993

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

Preview Lab → · Contrast checker → · Palette generator →

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