#223986#223986

#223986 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.132 H 267.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#223986
RGBrgb(34, 57, 134)
HSLhsl(226, 60%, 33%)
HSVhsv(226, 75%, 53%)
CMYKcmyk(74.6%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.70, 19.63, -45.79)
CIE-LCHlch(26.70, 49.83, 293.21°)
OKLaboklab(37.54% -0.0066 -0.132)
OKLCHoklch(37.54% 0.132 267.1)
XYZxyz(6.4244, 4.9869, 23.1736)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223986 #866F22
analogous
#226B86 #223986 #3D2286
triadic
#223986 #862239 #398622
tetradic
#223986 #86226B #866F22 #22863D
square
#223986 #86226B #866F22 #22863D
split-complementary
#223986 #863D22 #6B8622
monochromatic
#090F24 #162455 #223986 #2E4EB7 #506ED3

Accessibility & contrast

On white

10.51
#223986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223986
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223986#FFFFFF#000000##FFFFFF
##2239861.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223986;
/* rgb */ color: rgb(34, 57, 134);
/* oklch */ color: oklch(37.5% 0.132 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6faa',
    500: '#223986',
    950: '#000000',
  },
}
SCSS
$custom: #223986;
$custom-light: #6c6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#223986",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 226.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37537,
    "c": 0.13213,
    "h": 267.1
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#223986
secondary
#B69E4E
accent
#BE45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223986

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

Preview Lab → · Contrast checker → · Palette generator →

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