#223FA2#223FA2

#223FA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.164 H 266.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#223FA2
RGBrgb(34, 63, 162)
HSLhsl(226, 65%, 38%)
HSVhsv(226, 79%, 64%)
CMYKcmyk(79%, 61.1%, 0%, 36.5%)
CIE-LABlab(30.65, 26.46, -56.52)
CIE-LCHlch(30.65, 62.41, 295.09°)
OKLaboklab(41.21% -0.0101 -0.1634)
OKLCHoklch(41.21% 0.164 266.5)
XYZxyz(8.9565, 6.5027, 34.9585)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223FA2 #A28522
analogous
#227FA2 #223FA2 #4522A2
triadic
#223FA2 #A2223F #3FA222
tetradic
#223FA2 #A2227F #A28522 #22A245
square
#223FA2 #A2227F #A28522 #22A245
split-complementary
#223FA2 #A24522 #7FA222
monochromatic
#0D183D #172B6F #223FA2 #2E53D3 #617DDE

Accessibility & contrast

On white

9.13
#223FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#223FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223FA2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223FA2#FFFFFF#000000##FFFFFF
##223FA21.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223fa2;
/* rgb */ color: rgb(34, 63, 162);
/* oklch */ color: oklch(41.2% 0.164 266.5);
Tailwind
colors: {
  custom: {
    50: '#7273be',
    500: '#223fa2',
    950: '#000000',
  },
}
SCSS
$custom: #223fa2;
$custom-light: #7273be;
$custom-dark: #000000;
JSON
{
  "hex": "#223fa2",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 226.406,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.1637,
    "h": 266.5
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#223FA2
secondary
#C3AC5D
accent
#C240E8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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