#223BA1#223BA1

#223BA1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.167 H 267.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#223BA1
RGBrgb(34, 59, 161)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 79%, 63%)
CMYKcmyk(78.9%, 63.4%, 0%, 36.9%)
CIE-LABlab(29.51, 28.76, -57.77)
CIE-LCHlch(29.51, 64.54, 296.47°)
OKLaboklab(40.35% -0.0076 -0.1671)
OKLCHoklch(40.35% 0.167 267.4)
XYZxyz(8.6544, 6.0402, 34.4211)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223BA1 #A18822
analogous
#227AA1 #223BA1 #4822A1
triadic
#223BA1 #A1223B #3BA122
tetradic
#223BA1 #A1227A #A18822 #22A148
square
#223BA1 #A1227A #A18822 #22A148
split-complementary
#223BA1 #A14822 #7AA122
monochromatic
#0D163C #17286E #223BA1 #2D4ED3 #6079DD

Accessibility & contrast

On white

9.51
#223BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#223BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223BA1
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223BA1#FFFFFF#000000##FFFFFF
##223BA11.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223ba1;
/* rgb */ color: rgb(34, 59, 161);
/* oklch */ color: oklch(40.3% 0.167 267.4);
Tailwind
colors: {
  custom: {
    50: '#7370be',
    500: '#223ba1',
    950: '#000000',
  },
}
SCSS
$custom: #223ba1;
$custom-light: #7370be;
$custom-dark: #000000;
JSON
{
  "hex": "#223ba1",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 228.189,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.16727,
    "h": 267.4
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#223BA1
secondary
#C2AE5D
accent
#C740E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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