#223982#223982

#223982 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.126 H 266.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#223982
RGBrgb(34, 57, 130)
HSLhsl(226, 59%, 32%)
HSVhsv(226, 74%, 51%)
CMYKcmyk(73.8%, 56.2%, 0%, 49%)
CIE-LABlab(26.38, 18.06, -43.81)
CIE-LCHlch(26.38, 47.38, 292.40°)
OKLaboklab(37.2% -0.0069 -0.1261)
OKLCHoklch(37.2% 0.126 266.9)
XYZxyz(6.1507, 4.8774, 21.7320)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223982 #826B22
analogous
#226982 #223982 #3B2282
triadic
#223982 #822239 #398222
tetradic
#223982 #822269 #826B22 #22823B
square
#223982 #822269 #826B22 #22823B
split-complementary
#223982 #823B22 #698222
monochromatic
#090E21 #152451 #223982 #2F4EB3 #4E6DD1

Accessibility & contrast

On white

10.63
#223982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223982
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223982#FFFFFF#000000##FFFFFF
##2239821.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223982;
/* rgb */ color: rgb(34, 57, 130);
/* oklch */ color: oklch(37.2% 0.126 266.9);
Tailwind
colors: {
  custom: {
    50: '#6b6fa7',
    500: '#223982',
    950: '#000000',
  },
}
SCSS
$custom: #223982;
$custom-light: #6b6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#223982",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 130
  },
  "hsl": {
    "h": 225.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37201,
    "c": 0.12631,
    "h": 266.9
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#223982
secondary
#B49B4C
accent
#BC46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223982

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

Preview Lab → · Contrast checker → · Palette generator →

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