#223A8F#223A8F

#223A8F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.144 H 267.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#223A8F
RGBrgb(34, 58, 143)
HSLhsl(227, 62%, 35%)
HSVhsv(227, 76%, 56%)
CMYKcmyk(76.2%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.71, 22.48, -49.73)
CIE-LCHlch(27.71, 54.57, 294.32°)
OKLaboklab(38.52% -0.007 -0.1435)
OKLCHoklch(38.52% 0.144 267.2)
XYZxyz(7.1289, 5.3486, 26.6379)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A8F #8F7722
analogous
#22718F #223A8F #41228F
triadic
#223A8F #8F223A #3A8F22
tetradic
#223A8F #8F2271 #8F7722 #228F41
square
#223A8F #8F2271 #8F7722 #228F41
split-complementary
#223A8F #8F4122 #718F22
monochromatic
#0A122C #16265E #223A8F #2E4EC0 #5571D7

Accessibility & contrast

On white

10.15
#223A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A8F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A8F#FFFFFF#000000##FFFFFF
##223A8F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223a8f;
/* rgb */ color: rgb(34, 58, 143);
/* oklch */ color: oklch(38.5% 0.144 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fb1',
    500: '#223a8f',
    950: '#000000',
  },
}
SCSS
$custom: #223a8f;
$custom-light: #6e6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#223a8f",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 226.789,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.14369,
    "h": 267.2
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#223A8F
secondary
#BAA352
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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