#223EAF#223EAF

#223EAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.182 H 267.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#223EAF
RGBrgb(34, 62, 175)
HSLhsl(228, 67%, 41%)
HSVhsv(228, 81%, 69%)
CMYKcmyk(80.6%, 64.6%, 0%, 31.4%)
CIE-LABlab(31.53, 32.09, -62.88)
CIE-LCHlch(31.53, 70.59, 297.04°)
OKLaboklab(42.22% -0.0096 -0.182)
OKLCHoklch(42.22% 0.182 267)
XYZxyz(10.1175, 6.8793, 41.3437)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EAF #AF9322
analogous
#2284AF #223EAF #4C22AF
triadic
#223EAF #AF223E #3EAF22
tetradic
#223EAF #AF2284 #AF9322 #22AF4C
square
#223EAF #AF2284 #AF9322 #22AF4C
split-complementary
#223EAF #AF4C22 #84AF22
monochromatic
#0E1A49 #182C7C #223EAF #3656D8 #6981E2

Accessibility & contrast

On white

8.84
#223EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#223EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223EAF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EAF#FFFFFF#000000##FFFFFF
##223EAF1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #223eaf;
/* rgb */ color: rgb(34, 62, 175);
/* oklch */ color: oklch(42.2% 0.182 267.0);
Tailwind
colors: {
  custom: {
    50: '#7673c8',
    500: '#223eaf',
    950: '#000000',
  },
}
SCSS
$custom: #223eaf;
$custom-light: #7673c8;
$custom-dark: #000000;
JSON
{
  "hex": "#223eaf",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 228.085,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.18226,
    "h": 267
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#223EAF
secondary
#C8B465
accent
#C83DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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