#223F80#223F80

#223F80 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.115 H 263.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#223F80
RGBrgb(34, 63, 128)
HSLhsl(221, 58%, 32%)
HSVhsv(221, 73%, 50%)
CMYKcmyk(73.4%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.99, 13.09, -39.96)
CIE-LCHlch(27.99, 42.05, 288.14°)
OKLaboklab(38.37% -0.0126 -0.1147)
OKLCHoklch(38.37% 0.115 263.8)
XYZxyz(6.3321, 5.4529, 21.1367)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F80 #806322
analogous
#226E80 #223F80 #342280
triadic
#223F80 #80223F #3F8022
tetradic
#223F80 #80226E #806322 #228034
square
#223F80 #80226E #806322 #228034
split-complementary
#223F80 #803422 #6E8022
monochromatic
#080F1F #152750 #223F80 #2F57B0 #4D75D0

Accessibility & contrast

On white

10.04
#223F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F80
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F80#FFFFFF#000000##FFFFFF
##223F801.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4782
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223f80;
/* rgb */ color: rgb(34, 63, 128);
/* oklch */ color: oklch(38.4% 0.115 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a73a5',
    500: '#223f80',
    950: '#000000',
  },
}
SCSS
$custom: #223f80;
$custom-light: #6a73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#223f80",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 221.489,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.11539,
    "h": 263.8
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#223F80
secondary
#B2934B
accent
#B247E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223F80

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

Preview Lab → · Contrast checker → · Palette generator →

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