#223A91#223A91

#223A91 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.147 H 267.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#223A91
RGBrgb(34, 58, 145)
HSLhsl(227, 62%, 35%)
HSVhsv(227, 77%, 57%)
CMYKcmyk(76.6%, 60%, 0%, 43.1%)
CIE-LABlab(27.87, 23.26, -50.69)
CIE-LCHlch(27.87, 55.77, 294.64°)
OKLaboklab(38.7% -0.007 -0.1463)
OKLCHoklch(38.7% 0.147 267.3)
XYZxyz(7.2818, 5.4097, 27.4430)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A91 #917922
analogous
#227191 #223A91 #412291
triadic
#223A91 #91223A #3A9122
tetradic
#223A91 #912271 #917922 #229141
square
#223A91 #912271 #917922 #229141
split-complementary
#223A91 #914122 #719122
monochromatic
#0B122E #16265F #223A91 #2E4EC3 #5672D7

Accessibility & contrast

On white

10.09
#223A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A91
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A91#FFFFFF#000000##FFFFFF
##223A911.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223a91;
/* rgb */ color: rgb(34, 58, 145);
/* oklch */ color: oklch(38.7% 0.147 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb2',
    500: '#223a91',
    950: '#000000',
  },
}
SCSS
$custom: #223a91;
$custom-light: #6f6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#223a91",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 227.027,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38698,
    "c": 0.14652,
    "h": 267.3
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#223A91
secondary
#BBA553
accent
#C243E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223A91

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

Preview Lab → · Contrast checker → · Palette generator →

#223A91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva