#223397#223397

#223397 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.164 H 269.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#223397
RGBrgb(34, 51, 151)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 59%)
CMYKcmyk(77.5%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.57, 30.29, -56.51)
CIE-LCHlch(26.57, 64.12, 298.19°)
OKLaboklab(37.9% -0.0023 -0.1635)
OKLCHoklch(37.9% 0.164 269.2)
XYZxyz(7.4275, 4.9413, 29.8345)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223397 #978622
analogous
#226E97 #223397 #4C2297
triadic
#223397 #972233 #339722
tetradic
#223397 #97226E #978622 #22974C
square
#223397 #97226E #978622 #22974C
split-complementary
#223397 #974C22 #6E9722
monochromatic
#0C1133 #172265 #223397 #2D44C9 #5A6CDA

Accessibility & contrast

On white

10.56
#223397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223397
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223397#FFFFFF#000000##FFFFFF
##2233971.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223397;
/* rgb */ color: rgb(34, 51, 151);
/* oklch */ color: oklch(37.9% 0.164 269.2);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#223397',
    950: '#000000',
  },
}
SCSS
$custom: #223397;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#223397",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 231.282,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37897,
    "c": 0.1635,
    "h": 269.2
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#223397
secondary
#BEAF57
accent
#CE42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223397

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

Preview Lab → · Contrast checker → · Palette generator →

#223397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva