#223A97#223A97

#223A97 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.155 H 267.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#223A97
RGBrgb(34, 58, 151)
HSLhsl(228, 63%, 36%)
HSVhsv(228, 77%, 59%)
CMYKcmyk(77.5%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.38, 25.59, -53.55)
CIE-LCHlch(28.38, 59.35, 295.54°)
OKLaboklab(39.24% -0.0069 -0.1547)
OKLCHoklch(39.24% 0.155 267.5)
XYZxyz(7.7567, 5.5997, 29.9442)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A97 #977F22
analogous
#227597 #223A97 #452297
triadic
#223A97 #97223A #3A9722
tetradic
#223A97 #972275 #977F22 #229745
square
#223A97 #972275 #977F22 #229745
split-complementary
#223A97 #974522 #759722
monochromatic
#0C1433 #172765 #223A97 #2D4DC9 #5A74DA

Accessibility & contrast

On white

9.90
#223A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A97
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A97#FFFFFF#000000##FFFFFF
##223A971.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223a97;
/* rgb */ color: rgb(34, 58, 151);
/* oklch */ color: oklch(39.2% 0.155 267.5);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#223a97',
    950: '#000000',
  },
}
SCSS
$custom: #223a97;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223a97",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 227.692,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39235,
    "c": 0.15487,
    "h": 267.5
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#223A97
secondary
#BEA957
accent
#C442E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223A97

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

Preview Lab → · Contrast checker → · Palette generator →

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