#223893#223893

#223893 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.152 H 267.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#223893
RGBrgb(34, 56, 147)
HSLhsl(228, 62%, 35%)
HSVhsv(228, 77%, 58%)
CMYKcmyk(76.9%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.50, 25.40, -52.53)
CIE-LCHlch(27.50, 58.34, 295.81°)
OKLaboklab(38.48% -0.0055 -0.1517)
OKLCHoklch(38.48% 0.152 267.9)
XYZxyz(7.3385, 5.2742, 28.2294)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223893 #937D22
analogous
#227093 #223893 #452293
triadic
#223893 #932238 #389322
tetradic
#223893 #932270 #937D22 #229345
square
#223893 #932270 #937D22 #229345
split-complementary
#223893 #934522 #709322
monochromatic
#0B1230 #172561 #223893 #2D4BC5 #5770D8

Accessibility & contrast

On white

10.22
#223893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223893
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223893#FFFFFF#000000##FFFFFF
##2238931.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223893;
/* rgb */ color: rgb(34, 56, 147);
/* oklch */ color: oklch(38.5% 0.152 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6eb3',
    500: '#223893',
    950: '#000000',
  },
}
SCSS
$custom: #223893;
$custom-light: #6f6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#223893",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 228.319,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38476,
    "c": 0.15185,
    "h": 267.9
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#223893
secondary
#BCA855
accent
#C642E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223893

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

Preview Lab → · Contrast checker → · Palette generator →

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