#223B99#223B99

#223B99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.156 H 267.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#223B99
RGBrgb(34, 59, 153)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 60%)
CMYKcmyk(77.8%, 61.4%, 0%, 40%)
CIE-LABlab(28.82, 25.69, -54.05)
CIE-LCHlch(28.82, 59.84, 295.42°)
OKLaboklab(39.61% -0.0075 -0.1562)
OKLCHoklch(39.61% 0.156 267.2)
XYZxyz(7.9714, 5.7670, 30.8238)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B99 #998022
analogous
#227799 #223B99 #452299
triadic
#223B99 #99223B #3B9922
tetradic
#223B99 #992277 #998022 #229945
square
#223B99 #992277 #998022 #229945
split-complementary
#223B99 #994522 #779922
monochromatic
#0C1435 #172867 #223B99 #2D4ECB #5B76DB

Accessibility & contrast

On white

9.75
#223B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223B99
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B99#FFFFFF#000000##FFFFFF
##223B991.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223b99;
/* rgb */ color: rgb(34, 59, 153);
/* oklch */ color: oklch(39.6% 0.156 267.2);
Tailwind
colors: {
  custom: {
    50: '#7070b8',
    500: '#223b99',
    950: '#000000',
  },
}
SCSS
$custom: #223b99;
$custom-light: #7070b8;
$custom-dark: #000000;
JSON
{
  "hex": "#223b99",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 227.395,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.15637,
    "h": 267.2
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#223B99
secondary
#BFA958
accent
#C441E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223B99

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

Preview Lab → · Contrast checker → · Palette generator →

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