#223AA1#223AA1

#223AA1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.168 H 267.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#223AA1
RGBrgb(34, 58, 161)
HSLhsl(229, 65%, 38%)
HSVhsv(229, 79%, 63%)
CMYKcmyk(78.9%, 64%, 0%, 36.9%)
CIE-LABlab(29.26, 29.43, -58.19)
CIE-LCHlch(29.26, 65.21, 296.83°)
OKLaboklab(40.16% -0.007 -0.1683)
OKLCHoklch(40.16% 0.168 267.6)
XYZxyz(8.6035, 5.9384, 34.4041)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223AA1 #A18922
analogous
#2279A1 #223AA1 #4922A1
triadic
#223AA1 #A1223A #3AA122
tetradic
#223AA1 #A12279 #A18922 #22A149
square
#223AA1 #A12279 #A18922 #22A149
split-complementary
#223AA1 #A14922 #79A122
monochromatic
#0D163C #17286E #223AA1 #2D4DD3 #6078DD

Accessibility & contrast

On white

9.60
#223AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#223AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223AA1
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223AA1#FFFFFF#000000##FFFFFF
##223AA11.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223aa1;
/* rgb */ color: rgb(34, 58, 161);
/* oklch */ color: oklch(40.2% 0.168 267.6);
Tailwind
colors: {
  custom: {
    50: '#7370be',
    500: '#223aa1',
    950: '#000000',
  },
}
SCSS
$custom: #223aa1;
$custom-light: #7370be;
$custom-dark: #000000;
JSON
{
  "hex": "#223aa1",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 228.661,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40156,
    "c": 0.16848,
    "h": 267.6
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#223AA1
secondary
#C2AF5D
accent
#C840E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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