#223DAF#223DAF

#223DAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.183 H 267.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#223DAF
RGBrgb(34, 61, 175)
HSLhsl(229, 67%, 41%)
HSVhsv(229, 81%, 69%)
CMYKcmyk(80.6%, 65.1%, 0%, 31.4%)
CIE-LABlab(31.28, 32.74, -63.29)
CIE-LCHlch(31.28, 71.26, 297.36°)
OKLaboklab(42.04% -0.0091 -0.1832)
OKLCHoklch(42.04% 0.183 267.2)
XYZxyz(10.0636, 6.7715, 41.3258)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223DAF #AF9422
analogous
#2283AF #223DAF #4E22AF
triadic
#223DAF #AF223D #3DAF22
tetradic
#223DAF #AF2283 #AF9422 #22AF4E
square
#223DAF #AF2283 #AF9422 #22AF4E
split-complementary
#223DAF #AF4E22 #83AF22
monochromatic
#0E1949 #182B7C #223DAF #3655D8 #6981E2

Accessibility & contrast

On white

8.92
#223DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#223DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223DAF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223DAF#FFFFFF#000000##FFFFFF
##223DAF1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #223daf;
/* rgb */ color: rgb(34, 61, 175);
/* oklch */ color: oklch(42.0% 0.183 267.2);
Tailwind
colors: {
  custom: {
    50: '#7672c8',
    500: '#223daf',
    950: '#000000',
  },
}
SCSS
$custom: #223daf;
$custom-light: #7672c8;
$custom-dark: #000000;
JSON
{
  "hex": "#223daf",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 228.511,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.18345,
    "h": 267.2
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#223DAF
secondary
#C8B565
accent
#C93DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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