#223780#223780

#223780 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.126 H 267.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#223780
RGBrgb(34, 55, 128)
HSLhsl(227, 58%, 32%)
HSVhsv(227, 73%, 50%)
CMYKcmyk(73.4%, 57%, 0%, 49.8%)
CIE-LABlab(25.65, 18.66, -43.73)
CIE-LCHlch(25.65, 47.55, 293.11°)
OKLaboklab(36.6% -0.0053 -0.1259)
OKLCHoklch(36.6% 0.126 267.6)
XYZxyz(5.9208, 4.6304, 20.9996)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223780 #806B22
analogous
#226680 #223780 #3C2280
triadic
#223780 #802237 #378022
tetradic
#223780 #802266 #806B22 #22803C
square
#223780 #802266 #806B22 #22803C
split-complementary
#223780 #803C22 #668022
monochromatic
#080D1F #152250 #223780 #2F4CB0 #4D6AD0

Accessibility & contrast

On white

10.90
#223780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223780
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223780#FFFFFF#000000##FFFFFF
##2237801.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223780;
/* rgb */ color: rgb(34, 55, 128);
/* oklch */ color: oklch(36.6% 0.126 267.6);
Tailwind
colors: {
  custom: {
    50: '#6b6da5',
    500: '#223780',
    950: '#000000',
  },
}
SCSS
$custom: #223780;
$custom-light: #6b6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#223780",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 226.596,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.12605,
    "h": 267.6
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#223780
secondary
#B29B4B
accent
#BF47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223780

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

Preview Lab → · Contrast checker → · Palette generator →

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