#223165#223165

#223165 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.093 H 268.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#223165
RGBrgb(34, 49, 101)
HSLhsl(227, 50%, 26%)
HSVhsv(227, 66%, 40%)
CMYKcmyk(66.3%, 51.5%, 0%, 60.4%)
CIE-LABlab(21.86, 12.27, -32.61)
CIE-LCHlch(21.86, 34.84, 290.61°)
OKLaboklab(33.08% -0.002 -0.0933)
OKLCHoklch(33.08% 0.093 268.8)
XYZxyz(4.1062, 3.4759, 12.7639)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223165 #655622
analogous
#225365 #223165 #352265
triadic
#223165 #652231 #316522
tetradic
#223165 #652253 #655622 #226535
square
#223165 #652253 #655622 #226535
split-complementary
#223165 #653522 #536522
monochromatic
#080B17 #131B37 #223165 #314793 #425EBF

Accessibility & contrast

On white

12.39
#223165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#223165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223165
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223165#FFFFFF#000000##FFFFFF
##2231651.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163867
Deuteranopia (green-blind)
#093264
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223165;
/* rgb */ color: rgb(34, 49, 101);
/* oklch */ color: oklch(33.1% 0.093 268.8);
Tailwind
colors: {
  custom: {
    50: '#656891',
    500: '#223165',
    950: '#000000',
  },
}
SCSS
$custom: #223165;
$custom-light: #656891;
$custom-dark: #000000;
JSON
{
  "hex": "#223165",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 101
  },
  "hsl": {
    "h": 226.567,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.09333,
    "h": 268.8
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#223165
secondary
#99874A
accent
#BA4FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060D
muted
#7A7A7D

Preview Lab

Preview with #223165

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

Preview Lab → · Contrast checker → · Palette generator →

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