#223FB1#223FB1

#223FB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.184 H 266.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#223FB1
RGBrgb(34, 63, 177)
HSLhsl(228, 68%, 41%)
HSVhsv(228, 81%, 69%)
CMYKcmyk(80.8%, 64.4%, 0%, 30.6%)
CIE-LABlab(31.96, 32.19, -63.36)
CIE-LCHlch(31.96, 71.07, 296.93°)
OKLaboklab(42.59% -0.0102 -0.1834)
OKLCHoklch(42.59% 0.184 266.8)
XYZxyz(10.3702, 7.0682, 42.4042)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FB1 #B19422
analogous
#2287B1 #223FB1 #4D22B1
triadic
#223FB1 #B1223F #3FB122
tetradic
#223FB1 #B12287 #B19422 #22B14D
square
#223FB1 #B12287 #B19422 #22B14D
split-complementary
#223FB1 #B14D22 #87B122
monochromatic
#0E1A4A #182D7E #223FB1 #3858D9 #6B83E3

Accessibility & contrast

On white

8.70
#223FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#223FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FB1
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FB1#FFFFFF#000000##FFFFFF
##223FB11.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #223fb1;
/* rgb */ color: rgb(34, 63, 177);
/* oklch */ color: oklch(42.6% 0.184 266.8);
Tailwind
colors: {
  custom: {
    50: '#7673c9',
    500: '#223fb1',
    950: '#000000',
  },
}
SCSS
$custom: #223fb1;
$custom-light: #7673c9;
$custom-dark: #000000;
JSON
{
  "hex": "#223fb1",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 227.832,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.1837,
    "h": 266.8
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#223FB1
secondary
#C9B566
accent
#C73DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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