#223F9A#223F9A

#223F9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.153 H 266.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#223F9A
RGBrgb(34, 63, 154)
HSLhsl(226, 64%, 37%)
HSVhsv(226, 78%, 60%)
CMYKcmyk(77.9%, 59.1%, 0%, 39.6%)
CIE-LABlab(29.98, 23.36, -52.77)
CIE-LCHlch(29.98, 57.70, 293.88°)
OKLaboklab(40.51% -0.0103 -0.1524)
OKLCHoklch(40.51% 0.153 266.1)
XYZxyz(8.2679, 6.2273, 31.3318)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F9A #9A7D22
analogous
#227B9A #223F9A #41229A
triadic
#223F9A #9A223F #3F9A22
tetradic
#223F9A #9A227B #9A7D22 #229A41
square
#223F9A #9A227B #9A7D22 #229A41
split-complementary
#223F9A #9A4122 #7B9A22
monochromatic
#0C1636 #172A68 #223F9A #2D54CC #5B7ADB

Accessibility & contrast

On white

9.35
#223F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#223F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F9A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F9A#FFFFFF#000000##FFFFFF
##223F9A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223f9a;
/* rgb */ color: rgb(34, 63, 154);
/* oklch */ color: oklch(40.5% 0.153 266.1);
Tailwind
colors: {
  custom: {
    50: '#7073b9',
    500: '#223f9a',
    950: '#000000',
  },
}
SCSS
$custom: #223f9a;
$custom-light: #7073b9;
$custom-dark: #000000;
JSON
{
  "hex": "#223f9a",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 225.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.15271,
    "h": 266.1
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#223F9A
secondary
#BFA658
accent
#BF41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #223F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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