#223F8A#223F8A

#223F8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.130 H 265.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#223F8A
RGBrgb(34, 63, 138)
HSLhsl(223, 60%, 34%)
HSVhsv(223, 75%, 54%)
CMYKcmyk(75.4%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.72, 17.06, -45.00)
CIE-LCHlch(28.72, 48.12, 290.76°)
OKLaboklab(39.16% -0.0114 -0.1295)
OKLCHoklch(39.16% 0.13 265)
XYZxyz(7.0230, 5.7293, 24.7756)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F8A #8A6D22
analogous
#22738A #223F8A #39228A
triadic
#223F8A #8A223F #3F8A22
tetradic
#223F8A #8A2273 #8A6D22 #228A39
square
#223F8A #8A2273 #8A6D22 #228A39
split-complementary
#223F8A #8A3922 #738A22
monochromatic
#0A1228 #162959 #223F8A #2E55BB #5276D4

Accessibility & contrast

On white

9.79
#223F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F8A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F8A#FFFFFF#000000##FFFFFF
##223F8A1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223f8a;
/* rgb */ color: rgb(34, 63, 138);
/* oklch */ color: oklch(39.2% 0.130 265.0);
Tailwind
colors: {
  custom: {
    50: '#6c73ad',
    500: '#223f8a',
    950: '#000000',
  },
}
SCSS
$custom: #223f8a;
$custom-light: #6c73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223f8a",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 223.269,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39161,
    "c": 0.13002,
    "h": 265
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#223F8A
secondary
#B89B50
accent
#B744E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #223F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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