#223980#223980

#223980 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.123 H 266.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#223980
RGBrgb(34, 57, 128)
HSLhsl(225, 58%, 32%)
HSVhsv(225, 73%, 50%)
CMYKcmyk(73.4%, 55.5%, 0%, 49.8%)
CIE-LABlab(26.23, 17.26, -42.81)
CIE-LCHlch(26.23, 46.16, 291.97°)
OKLaboklab(37.04% -0.007 -0.1232)
OKLCHoklch(37.04% 0.123 266.7)
XYZxyz(6.0177, 4.8242, 21.0319)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223980 #806922
analogous
#226880 #223980 #3A2280
triadic
#223980 #802239 #398022
tetradic
#223980 #802268 #806922 #22803A
square
#223980 #802268 #806922 #22803A
split-complementary
#223980 #803A22 #688022
monochromatic
#080E1F #152350 #223980 #2F4FB0 #4D6DD0

Accessibility & contrast

On white

10.69
#223980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223980
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223980#FFFFFF#000000##FFFFFF
##2239801.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044382
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223980;
/* rgb */ color: rgb(34, 57, 128);
/* oklch */ color: oklch(37.0% 0.123 266.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ea5',
    500: '#223980',
    950: '#000000',
  },
}
SCSS
$custom: #223980;
$custom-light: #6a6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#223980",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 225.319,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37035,
    "c": 0.12337,
    "h": 266.7
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#223980
secondary
#B2994B
accent
#BB47E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223980

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

Preview Lab → · Contrast checker → · Palette generator →

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