#223F8F#223F8F

#223F8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.137 H 265.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#223F8F
RGBrgb(34, 63, 143)
HSLhsl(224, 62%, 35%)
HSVhsv(224, 76%, 56%)
CMYKcmyk(76.2%, 55.9%, 0%, 43.9%)
CIE-LABlab(29.10, 19.04, -47.46)
CIE-LCHlch(29.10, 51.14, 291.85°)
OKLaboklab(39.57% -0.0109 -0.1368)
OKLCHoklch(39.57% 0.137 265.4)
XYZxyz(7.3934, 5.8775, 26.7261)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F8F #8F7222
analogous
#22758F #223F8F #3C228F
triadic
#223F8F #8F223F #3F8F22
tetradic
#223F8F #8F2275 #8F7222 #228F3C
square
#223F8F #8F2275 #8F7222 #228F3C
split-complementary
#223F8F #8F3C22 #758F22
monochromatic
#0A132C #16295E #223F8F #2E55C0 #5577D7

Accessibility & contrast

On white

9.65
#223F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#223F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F8F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F8F#FFFFFF#000000##FFFFFF
##223F8F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223f8f;
/* rgb */ color: rgb(34, 63, 143);
/* oklch */ color: oklch(39.6% 0.137 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e73b0',
    500: '#223f8f',
    950: '#000000',
  },
}
SCSS
$custom: #223f8f;
$custom-light: #6e73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223f8f",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 224.037,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.13721,
    "h": 265.4
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#223F8F
secondary
#BA9F52
accent
#BA43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #223F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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