#223890#223890

#223890 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.148 H 267.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#223890
RGBrgb(34, 56, 144)
HSLhsl(228, 62%, 35%)
HSVhsv(228, 76%, 56%)
CMYKcmyk(76.4%, 61.1%, 0%, 43.5%)
CIE-LABlab(27.25, 24.24, -51.10)
CIE-LCHlch(27.25, 56.56, 295.38°)
OKLaboklab(38.21% -0.0055 -0.1476)
OKLCHoklch(38.21% 0.148 267.9)
XYZxyz(7.1062, 5.1813, 27.0057)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223890 #907A22
analogous
#226F90 #223890 #432290
triadic
#223890 #902238 #389022
tetradic
#223890 #90226F #907A22 #229043
square
#223890 #90226F #907A22 #229043
split-complementary
#223890 #904322 #6F9022
monochromatic
#0B112D #16255E #223890 #2E4BC2 #556FD7

Accessibility & contrast

On white

10.31
#223890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#223890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223890
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223890#FFFFFF#000000##FFFFFF
##2238901.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223890;
/* rgb */ color: rgb(34, 56, 144);
/* oklch */ color: oklch(38.2% 0.148 267.9);
Tailwind
colors: {
  custom: {
    50: '#6e6eb1',
    500: '#223890',
    950: '#000000',
  },
}
SCSS
$custom: #223890;
$custom-light: #6e6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#223890",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 228,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38205,
    "c": 0.14766,
    "h": 267.9
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#223890
secondary
#BBA653
accent
#C443E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223890

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

Preview Lab → · Contrast checker → · Palette generator →

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