#2223AF#2223AF

#2223AF is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.210 H 270.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2223AF
RGBrgb(34, 35, 175)
HSLhsl(240, 67%, 41%)
HSVhsv(240, 81%, 69%)
CMYKcmyk(80.6%, 80%, 0%, 31.4%)
CIE-LABlab(25.67, 48.24, -72.54)
CIE-LCHlch(25.67, 87.12, 303.63°)
OKLaboklab(38.01% 0.0011 -0.21)
OKLCHoklch(38.01% 0.21 270.3)
XYZxyz(8.9960, 4.6363, 40.9699)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223AF #AFAE22
analogous
#226AAF #2223AF #6722AF
triadic
#2223AF #AF2223 #23AF22
tetradic
#2223AF #AF226A #AFAE22 #22AF67
square
#2223AF #AF226A #AFAE22 #22AF67
split-complementary
#2223AF #AF6722 #6AAF22
monochromatic
#0E0F49 #18197C #2223AF #3637D8 #696AE2

Accessibility & contrast

On white

10.90
#2223AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2223AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223AF
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223AF#FFFFFF#000000##FFFFFF
##2223AF1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0035AD
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2223af;
/* rgb */ color: rgb(34, 35, 175);
/* oklch */ color: oklch(38.0% 0.210 270.3);
Tailwind
colors: {
  custom: {
    50: '#7861c8',
    500: '#2223af',
    950: '#000000',
  },
}
SCSS
$custom: #2223af;
$custom-light: #7861c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2223af",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 239.574,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38008,
    "c": 0.21005,
    "h": 270.3
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#2223AF
secondary
#C8C765
accent
#E93DEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2223AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2223AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva