#223F86#223F86

#223F86 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.124 H 264.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#223F86
RGBrgb(34, 63, 134)
HSLhsl(223, 60%, 33%)
HSVhsv(223, 75%, 53%)
CMYKcmyk(74.6%, 53%, 0%, 47.5%)
CIE-LABlab(28.42, 15.47, -43.00)
CIE-LCHlch(28.42, 45.70, 289.79°)
OKLaboklab(38.84% -0.0118 -0.1236)
OKLCHoklch(38.84% 0.124 264.6)
XYZxyz(6.7388, 5.6156, 23.2784)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F86 #866922
analogous
#227186 #223F86 #372286
triadic
#223F86 #86223F #3F8622
tetradic
#223F86 #862271 #866922 #228637
square
#223F86 #862271 #866922 #228637
split-complementary
#223F86 #863722 #718622
monochromatic
#091124 #162855 #223F86 #2E56B7 #5076D3

Accessibility & contrast

On white

9.89
#223F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F86
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F86#FFFFFF#000000##FFFFFF
##223F861.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223f86;
/* rgb */ color: rgb(34, 63, 134);
/* oklch */ color: oklch(38.8% 0.124 264.6);
Tailwind
colors: {
  custom: {
    50: '#6c73aa',
    500: '#223f86',
    950: '#000000',
  },
}
SCSS
$custom: #223f86;
$custom-light: #6c73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#223f86",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 222.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.12421,
    "h": 264.6
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#223F86
secondary
#B6984E
accent
#B545E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #223F86

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

Preview Lab → · Contrast checker → · Palette generator →

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