#223A9E#223A9E

#223A9E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.164 H 267.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#223A9E
RGBrgb(34, 58, 158)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 78%, 62%)
CMYKcmyk(78.5%, 63.3%, 0%, 38%)
CIE-LABlab(28.99, 28.28, -56.81)
CIE-LCHlch(28.99, 63.46, 296.47°)
OKLaboklab(39.88% -0.0069 -0.1643)
OKLCHoklch(39.88% 0.164 267.6)
XYZxyz(8.3422, 5.8339, 33.0275)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A9E #9E8622
analogous
#22789E #223A9E #48229E
triadic
#223A9E #9E223A #3A9E22
tetradic
#223A9E #9E2278 #9E8622 #229E48
square
#223A9E #9E2278 #9E8622 #229E48
split-complementary
#223A9E #9E4822 #789E22
monochromatic
#0C1539 #17286C #223A9E #2D4CD0 #5E76DC

Accessibility & contrast

On white

9.69
#223A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#223A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A9E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A9E#FFFFFF#000000##FFFFFF
##223A9E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223a9e;
/* rgb */ color: rgb(34, 58, 158);
/* oklch */ color: oklch(39.9% 0.164 267.6);
Tailwind
colors: {
  custom: {
    50: '#7270bc',
    500: '#223a9e',
    950: '#000000',
  },
}
SCSS
$custom: #223a9e;
$custom-light: #7270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#223a9e",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 228.387,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.16444,
    "h": 267.6
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#223A9E
secondary
#C1AD5B
accent
#C740E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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