#223096#223096

#223096 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.166 H 269.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#223096
RGBrgb(34, 48, 150)
HSLhsl(233, 63%, 36%)
HSVhsv(233, 77%, 59%)
CMYKcmyk(77.3%, 68%, 0%, 41.2%)
CIE-LABlab(25.73, 31.89, -57.27)
CIE-LCHlch(25.73, 65.55, 299.11°)
OKLaboklab(37.26% -0.0005 -0.1657)
OKLCHoklch(37.26% 0.166 269.8)
XYZxyz(7.2198, 4.6552, 29.3663)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223096 #968822
analogous
#226A96 #223096 #4E2296
triadic
#223096 #962230 #309622
tetradic
#223096 #96226A #968822 #22964E
square
#223096 #96226A #968822 #22964E
split-complementary
#223096 #964E22 #6A9622
monochromatic
#0B1032 #172064 #223096 #2D40C8 #5969D9

Accessibility & contrast

On white

10.87
#223096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223096
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223096#FFFFFF#000000##FFFFFF
##2230961.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223096;
/* rgb */ color: rgb(34, 48, 150);
/* oklch */ color: oklch(37.3% 0.166 269.8);
Tailwind
colors: {
  custom: {
    50: '#7168b6',
    500: '#223096',
    950: '#000000',
  },
}
SCSS
$custom: #223096;
$custom-light: #7168b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223096",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 232.759,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37255,
    "c": 0.16572,
    "h": 269.8
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#223096
secondary
#BEB156
accent
#D242E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223096

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

Preview Lab → · Contrast checker → · Palette generator →

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