#223F8B#223F8B

#223F8B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.131 H 265.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#223F8B
RGBrgb(34, 63, 139)
HSLhsl(223, 61%, 34%)
HSVhsv(223, 76%, 55%)
CMYKcmyk(75.5%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.79, 17.45, -45.49)
CIE-LCHlch(28.79, 48.73, 290.99°)
OKLaboklab(39.24% -0.0113 -0.131)
OKLCHoklch(39.24% 0.131 265.1)
XYZxyz(7.0958, 5.7584, 25.1586)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F8B #8B6E22
analogous
#22748B #223F8B #3A228B
triadic
#223F8B #8B223F #3F8B22
tetradic
#223F8B #8B2274 #8B6E22 #228B3A
square
#223F8B #8B2274 #8B6E22 #228B3A
split-complementary
#223F8B #8B3A22 #748B22
monochromatic
#0A1229 #16295A #223F8B #2E55BC #5377D5

Accessibility & contrast

On white

9.76
#223F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#223F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F8B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F8B#FFFFFF#000000##FFFFFF
##223F8B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06498E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223f8b;
/* rgb */ color: rgb(34, 63, 139);
/* oklch */ color: oklch(39.2% 0.131 265.1);
Tailwind
colors: {
  custom: {
    50: '#6d73ad',
    500: '#223f8b',
    950: '#000000',
  },
}
SCSS
$custom: #223f8b;
$custom-light: #6d73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223f8b",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 223.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.13146,
    "h": 265.1
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#223F8B
secondary
#B89C50
accent
#B844E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #223F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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