#223F96#223F96

#223F96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.147 H 265.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#223F96
RGBrgb(34, 63, 150)
HSLhsl(225, 63%, 36%)
HSVhsv(225, 77%, 59%)
CMYKcmyk(77.3%, 58%, 0%, 41.2%)
CIE-LABlab(29.65, 21.79, -50.86)
CIE-LCHlch(29.65, 55.33, 293.20°)
OKLaboklab(40.16% -0.0105 -0.1467)
OKLCHoklch(40.16% 0.147 265.9)
XYZxyz(7.9403, 6.0962, 29.6065)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F96 #967922
analogous
#227996 #223F96 #3F2296
triadic
#223F96 #96223F #3F9622
tetradic
#223F96 #962279 #967922 #22963F
square
#223F96 #962279 #967922 #22963F
split-complementary
#223F96 #963F22 #799622
monochromatic
#0B1532 #172A64 #223F96 #2D54C8 #5979D9

Accessibility & contrast

On white

9.46
#223F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#223F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F96
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F96#FFFFFF#000000##FFFFFF
##223F961.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223f96;
/* rgb */ color: rgb(34, 63, 150);
/* oklch */ color: oklch(40.2% 0.147 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f73b6',
    500: '#223f96',
    950: '#000000',
  },
}
SCSS
$custom: #223f96;
$custom-light: #6f73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223f96",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 225,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.14712,
    "h": 265.9
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#223F96
secondary
#BEA456
accent
#BD42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #223F96

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

Preview Lab → · Contrast checker → · Palette generator →

#223F96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva