#223BA5#223BA5

#223BA5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.173 H 267.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#223BA5
RGBrgb(34, 59, 165)
HSLhsl(229, 66%, 39%)
HSVhsv(229, 79%, 65%)
CMYKcmyk(79.4%, 64.2%, 0%, 35.3%)
CIE-LABlab(29.87, 30.28, -59.60)
CIE-LCHlch(29.87, 66.86, 296.94°)
OKLaboklab(40.72% -0.0077 -0.1725)
OKLCHoklch(40.72% 0.173 267.5)
XYZxyz(9.0128, 6.1836, 36.3086)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223BA5 #A58C22
analogous
#227DA5 #223BA5 #4B22A5
triadic
#223BA5 #A5223B #3BA522
tetradic
#223BA5 #A5227D #A58C22 #22A54B
square
#223BA5 #A5227D #A58C22 #22A54B
split-complementary
#223BA5 #A54B22 #7DA522
monochromatic
#0D1740 #182972 #223BA5 #304FD4 #637ADF

Accessibility & contrast

On white

9.39
#223BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#223BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223BA5
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223BA5#FFFFFF#000000##FFFFFF
##223BA51.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223ba5;
/* rgb */ color: rgb(34, 59, 165);
/* oklch */ color: oklch(40.7% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#7470c1',
    500: '#223ba5',
    950: '#000000',
  },
}
SCSS
$custom: #223ba5;
$custom-light: #7470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223ba5",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 228.55,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.17263,
    "h": 267.5
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#223BA5
secondary
#C4B15F
accent
#C83FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #223BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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