#223B8E#223B8E

#223B8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.141 H 266.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#223B8E
RGBrgb(34, 59, 142)
HSLhsl(226, 61%, 35%)
HSVhsv(226, 76%, 56%)
CMYKcmyk(76.1%, 58.5%, 0%, 44.3%)
CIE-LABlab(27.90, 21.40, -48.80)
CIE-LCHlch(27.90, 53.28, 293.68°)
OKLaboklab(38.64% -0.0078 -0.1408)
OKLCHoklch(38.64% 0.141 266.8)
XYZxyz(7.1044, 5.4202, 26.2577)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B8E #8E7522
analogous
#22718E #223B8E #3F228E
triadic
#223B8E #8E223B #3B8E22
tetradic
#223B8E #8E2271 #8E7522 #228E3F
square
#223B8E #8E2271 #8E7522 #228E3F
split-complementary
#223B8E #8E3F22 #718E22
monochromatic
#0A122B #16265D #223B8E #2E50BF #5472D6

Accessibility & contrast

On white

10.08
#223B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B8E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B8E#FFFFFF#000000##FFFFFF
##223B8E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223b8e;
/* rgb */ color: rgb(34, 59, 142);
/* oklch */ color: oklch(38.6% 0.141 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e70b0',
    500: '#223b8e',
    950: '#000000',
  },
}
SCSS
$custom: #223b8e;
$custom-light: #6e70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#223b8e",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 226.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38642,
    "c": 0.14099,
    "h": 266.8
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#223B8E
secondary
#BAA252
accent
#BF43E4
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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