#2223B0#2223B0

#2223B0 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.211 H 270.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2223B0
RGBrgb(34, 35, 176)
HSLhsl(240, 68%, 41%)
HSVhsv(240, 81%, 69%)
CMYKcmyk(80.7%, 80.1%, 0%, 31%)
CIE-LABlab(25.79, 48.56, -72.94)
CIE-LCHlch(25.79, 87.63, 303.65°)
OKLaboklab(38.12% 0.0009 -0.2112)
OKLCHoklch(38.12% 0.211 270.3)
XYZxyz(9.0945, 4.6757, 41.4891)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223B0 #B0AF22
analogous
#226AB0 #2223B0 #6822B0
triadic
#2223B0 #B02223 #23B022
tetradic
#2223B0 #B0226A #B0AF22 #22B068
square
#2223B0 #B0226A #B0AF22 #22B068
split-complementary
#2223B0 #B06822 #6AB022
monochromatic
#0E0F49 #18197D #2223B0 #3738D8 #6A6BE2

Accessibility & contrast

On white

10.85
#2223B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2223B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223B0
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223B0#FFFFFF#000000##FFFFFF
##2223B01.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2223b0;
/* rgb */ color: rgb(34, 35, 176);
/* oklch */ color: oklch(38.1% 0.211 270.3);
Tailwind
colors: {
  custom: {
    50: '#7961c9',
    500: '#2223b0',
    950: '#000000',
  },
}
SCSS
$custom: #2223b0;
$custom-light: #7961c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2223b0",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 239.577,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38124,
    "c": 0.21122,
    "h": 270.3
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2223B0

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

Preview Lab → · Contrast checker → · Palette generator →

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