#223B97#223B97

#223B97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.154 H 267.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#223B97
RGBrgb(34, 59, 151)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 59%)
CMYKcmyk(77.5%, 60.9%, 0%, 40.8%)
CIE-LABlab(28.65, 24.91, -53.11)
CIE-LCHlch(28.65, 58.66, 295.13°)
OKLaboklab(39.43% -0.0076 -0.1534)
OKLCHoklch(39.43% 0.154 267.2)
XYZxyz(7.8076, 5.7015, 29.9612)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B97 #977E22
analogous
#227697 #223B97 #442297
triadic
#223B97 #97223B #3B9722
tetradic
#223B97 #972276 #977E22 #229744
square
#223B97 #972276 #977E22 #229744
split-complementary
#223B97 #974422 #769722
monochromatic
#0C1433 #172765 #223B97 #2D4FC9 #5A75DA

Accessibility & contrast

On white

9.81
#223B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#223B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B97
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B97#FFFFFF#000000##FFFFFF
##223B971.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223b97;
/* rgb */ color: rgb(34, 59, 151);
/* oklch */ color: oklch(39.4% 0.154 267.2);
Tailwind
colors: {
  custom: {
    50: '#7070b6',
    500: '#223b97',
    950: '#000000',
  },
}
SCSS
$custom: #223b97;
$custom-light: #7070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223b97",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 227.179,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.15361,
    "h": 267.2
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#223B97
secondary
#BEA857
accent
#C342E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223B97

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

Preview Lab → · Contrast checker → · Palette generator →

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