#223FA0#223FA0

#223FA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.161 H 266.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#223FA0
RGBrgb(34, 63, 160)
HSLhsl(226, 65%, 38%)
HSVhsv(226, 79%, 63%)
CMYKcmyk(78.8%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.48, 25.69, -55.59)
CIE-LCHlch(30.48, 61.24, 294.80°)
OKLaboklab(41.04% -0.0101 -0.1606)
OKLCHoklch(41.04% 0.161 266.4)
XYZxyz(8.7801, 6.4322, 34.0297)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FA0 #A08322
analogous
#227EA0 #223FA0 #4422A0
triadic
#223FA0 #A0223F #3FA022
tetradic
#223FA0 #A0227E #A08322 #22A044
square
#223FA0 #A0227E #A08322 #22A044
split-complementary
#223FA0 #A04422 #7EA022
monochromatic
#0D173B #172B6E #223FA0 #2D53D2 #5F7CDD

Accessibility & contrast

On white

9.18
#223FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#223FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FA0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FA0#FFFFFF#000000##FFFFFF
##223FA01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223fa0;
/* rgb */ color: rgb(34, 63, 160);
/* oklch */ color: oklch(41.0% 0.161 266.4);
Tailwind
colors: {
  custom: {
    50: '#7273bd',
    500: '#223fa0',
    950: '#000000',
  },
}
SCSS
$custom: #223fa0;
$custom-light: #7273bd;
$custom-dark: #000000;
JSON
{
  "hex": "#223fa0",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 226.19,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.16097,
    "h": 266.4
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#223FA0
secondary
#C2AA5C
accent
#C140E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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