#223597#223597

#223597 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.161 H 268.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#223597
RGBrgb(34, 53, 151)
HSLhsl(230, 63%, 36%)
HSVhsv(230, 77%, 59%)
CMYKcmyk(77.5%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.07, 28.96, -55.68)
CIE-LCHlch(27.07, 62.76, 297.48°)
OKLaboklab(38.27% -0.0036 -0.161)
OKLCHoklch(38.27% 0.161 268.7)
XYZxyz(7.5168, 5.1198, 29.8642)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223597 #978422
analogous
#227097 #223597 #4A2297
triadic
#223597 #972235 #359722
tetradic
#223597 #972270 #978422 #22974A
square
#223597 #972270 #978422 #22974A
split-complementary
#223597 #974A22 #709722
monochromatic
#0C1233 #172365 #223597 #2D47C9 #5A6EDA

Accessibility & contrast

On white

10.37
#223597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223597
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223597#FFFFFF#000000##FFFFFF
##2235971.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223597;
/* rgb */ color: rgb(34, 53, 151);
/* oklch */ color: oklch(38.3% 0.161 268.7);
Tailwind
colors: {
  custom: {
    50: '#706cb7',
    500: '#223597',
    950: '#000000',
  },
}
SCSS
$custom: #223597;
$custom-light: #706cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#223597",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 230.256,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38269,
    "c": 0.16107,
    "h": 268.7
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#223597
secondary
#BEAD57
accent
#CC42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223597

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

Preview Lab → · Contrast checker → · Palette generator →

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