#223A8B#223A8B

#223A8B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.138 H 267.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#223A8B
RGBrgb(34, 58, 139)
HSLhsl(226, 61%, 34%)
HSVhsv(226, 76%, 55%)
CMYKcmyk(75.5%, 58.3%, 0%, 45.5%)
CIE-LABlab(27.38, 20.91, -47.79)
CIE-LCHlch(27.38, 52.17, 293.63°)
OKLaboklab(38.17% -0.0072 -0.1378)
OKLCHoklch(38.17% 0.138 267)
XYZxyz(6.8313, 5.2295, 25.0705)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A8B #8B7322
analogous
#226F8B #223A8B #3F228B
triadic
#223A8B #8B223A #3A8B22
tetradic
#223A8B #8B226F #8B7322 #228B3F
square
#223A8B #8B226F #8B7322 #228B3F
split-complementary
#223A8B #8B3F22 #6F8B22
monochromatic
#0A1129 #16255A #223A8B #2E4FBC #5370D5

Accessibility & contrast

On white

10.26
#223A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#223A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A8B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A8B#FFFFFF#000000##FFFFFF
##223A8B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223a8b;
/* rgb */ color: rgb(34, 58, 139);
/* oklch */ color: oklch(38.2% 0.138 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d6fae',
    500: '#223a8b',
    950: '#000000',
  },
}
SCSS
$custom: #223a8b;
$custom-light: #6d6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#223a8b",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 226.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38175,
    "c": 0.13801,
    "h": 267
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#223A8B
secondary
#B8A150
accent
#BF44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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