#223990#223990

#223990 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.146 H 267.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#223990
RGBrgb(34, 57, 144)
HSLhsl(227, 62%, 35%)
HSVhsv(227, 76%, 56%)
CMYKcmyk(76.4%, 60.4%, 0%, 43.5%)
CIE-LABlab(27.52, 23.55, -50.66)
CIE-LCHlch(27.52, 55.86, 294.93°)
OKLaboklab(38.41% -0.0062 -0.1462)
OKLCHoklch(38.41% 0.146 267.6)
XYZxyz(7.1551, 5.2792, 27.0220)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223990 #907922
analogous
#227090 #223990 #422290
triadic
#223990 #902239 #399022
tetradic
#223990 #902270 #907922 #229042
square
#223990 #902270 #907922 #229042
split-complementary
#223990 #904222 #709022
monochromatic
#0B122D #16255E #223990 #2E4DC2 #5571D7

Accessibility & contrast

On white

10.21
#223990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223990
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223990#FFFFFF#000000##FFFFFF
##2239901.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223990;
/* rgb */ color: rgb(34, 57, 144);
/* oklch */ color: oklch(38.4% 0.146 267.6);
Tailwind
colors: {
  custom: {
    50: '#6e6fb1',
    500: '#223990',
    950: '#000000',
  },
}
SCSS
$custom: #223990;
$custom-light: #6e6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#223990",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 227.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38407,
    "c": 0.14638,
    "h": 267.6
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#223990
secondary
#BBA553
accent
#C343E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223990

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

Preview Lab → · Contrast checker → · Palette generator →

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