#223297#223297

#223297 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.165 H 269.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#223297
RGBrgb(34, 50, 151)
HSLhsl(232, 63%, 36%)
HSVhsv(232, 77%, 59%)
CMYKcmyk(77.5%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.32, 30.95, -56.92)
CIE-LCHlch(26.32, 64.79, 298.53°)
OKLaboklab(37.71% -0.0017 -0.1647)
OKLCHoklch(37.71% 0.165 269.4)
XYZxyz(7.3843, 4.8548, 29.8201)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223297 #978722
analogous
#226D97 #223297 #4D2297
triadic
#223297 #972232 #329722
tetradic
#223297 #97226D #978722 #22974D
square
#223297 #97226D #978722 #22974D
split-complementary
#223297 #974D22 #6D9722
monochromatic
#0C1133 #172165 #223297 #2D43C9 #5A6BDA

Accessibility & contrast

On white

10.65
#223297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223297
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223297#FFFFFF#000000##FFFFFF
##2232971.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223297;
/* rgb */ color: rgb(34, 50, 151);
/* oklch */ color: oklch(37.7% 0.165 269.4);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#223297',
    950: '#000000',
  },
}
SCSS
$custom: #223297;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#223297",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 231.795,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37714,
    "c": 0.16469,
    "h": 269.4
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#223297
secondary
#BEB057
accent
#D042E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223297

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

Preview Lab → · Contrast checker → · Palette generator →

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