#223E9F#223E9F

#223E9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.161 H 266.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#223E9F
RGBrgb(34, 62, 159)
HSLhsl(227, 65%, 38%)
HSVhsv(227, 79%, 62%)
CMYKcmyk(78.6%, 61%, 0%, 37.6%)
CIE-LABlab(30.13, 25.98, -55.56)
CIE-LCHlch(30.13, 61.33, 295.06°)
OKLaboklab(40.75% -0.0095 -0.1606)
OKLCHoklch(40.75% 0.161 266.6)
XYZxyz(8.6381, 6.2876, 33.5525)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E9F #9F8322
analogous
#227C9F #223E9F #44229F
triadic
#223E9F #9F223E #3E9F22
tetradic
#223E9F #9F227C #9F8322 #229F44
square
#223E9F #9F227C #9F8322 #229F44
split-complementary
#223E9F #9F4422 #7C9F22
monochromatic
#0C173A #172A6D #223E9F #2D52D1 #5F7BDD

Accessibility & contrast

On white

9.30
#223E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#223E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E9F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E9F#FFFFFF#000000##FFFFFF
##223E9F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223e9f;
/* rgb */ color: rgb(34, 62, 159);
/* oklch */ color: oklch(40.7% 0.161 266.6);
Tailwind
colors: {
  custom: {
    50: '#7272bc',
    500: '#223e9f',
    950: '#000000',
  },
}
SCSS
$custom: #223e9f;
$custom-light: #7272bc;
$custom-dark: #000000;
JSON
{
  "hex": "#223e9f",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 226.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.16085,
    "h": 266.6
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#223E9F
secondary
#C1AB5B
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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