#223892#223892

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

Color values

HEX#223892
RGBrgb(34, 56, 146)
HSLhsl(228, 62%, 35%)
HSVhsv(228, 77%, 57%)
CMYKcmyk(76.7%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.42, 25.01, -52.05)
CIE-LCHlch(27.42, 57.75, 295.67°)
OKLaboklab(38.39% -0.0055 -0.1504)
OKLCHoklch(38.39% 0.15 267.9)
XYZxyz(7.2604, 5.2430, 27.8179)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223892 #927C22
analogous
#227092 #223892 #442292
triadic
#223892 #922238 #389222
tetradic
#223892 #922270 #927C22 #229244
square
#223892 #922270 #927C22 #229244
split-complementary
#223892 #924422 #709222
monochromatic
#0B122F #162560 #223892 #2E4BC4 #5770D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223892#FFFFFF#000000##FFFFFF
##2238921.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)
#004695
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223892;
/* rgb */ color: rgb(34, 56, 146);
/* oklch */ color: oklch(38.4% 0.150 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6eb3',
    500: '#223892',
    950: '#000000',
  },
}
SCSS
$custom: #223892;
$custom-light: #6f6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#223892",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 228.214,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.15046,
    "h": 267.9
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#223892
secondary
#BCA754
accent
#C543E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223892

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

Preview Lab → · Contrast checker → · Palette generator →

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