#223F88#223F88

#223F88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.127 H 264.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#223F88
RGBrgb(34, 63, 136)
HSLhsl(223, 60%, 33%)
HSVhsv(223, 75%, 53%)
CMYKcmyk(75%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.57, 16.27, -44.00)
CIE-LCHlch(28.57, 46.91, 290.29°)
OKLaboklab(39% -0.0116 -0.1266)
OKLCHoklch(39% 0.127 264.8)
XYZxyz(6.8796, 5.6719, 24.0200)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F88 #886B22
analogous
#227288 #223F88 #382288
triadic
#223F88 #88223F #3F8822
tetradic
#223F88 #882272 #886B22 #228838
square
#223F88 #882272 #886B22 #228838
split-complementary
#223F88 #883822 #728822
monochromatic
#0A1226 #162857 #223F88 #2E56B9 #5176D3

Accessibility & contrast

On white

9.84
#223F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#223F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F88
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F88#FFFFFF#000000##FFFFFF
##223F881.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223f88;
/* rgb */ color: rgb(34, 63, 136);
/* oklch */ color: oklch(39.0% 0.127 264.8);
Tailwind
colors: {
  custom: {
    50: '#6c73ab',
    500: '#223f88',
    950: '#000000',
  },
}
SCSS
$custom: #223f88;
$custom-light: #6c73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223f88",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 222.941,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39,
    "c": 0.12712,
    "h": 264.8
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#223F88
secondary
#B7994F
accent
#B645E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #223F88

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

Preview Lab → · Contrast checker → · Palette generator →

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