#223BAF#223BAF

#223BAF is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.186 H 267.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#223BAF
RGBrgb(34, 59, 175)
HSLhsl(229, 67%, 41%)
HSVhsv(229, 81%, 69%)
CMYKcmyk(80.6%, 66.3%, 0%, 31.4%)
CIE-LABlab(30.79, 34.04, -64.09)
CIE-LCHlch(30.79, 72.58, 297.98°)
OKLaboklab(41.68% -0.008 -0.1856)
OKLCHoklch(41.68% 0.186 267.5)
XYZxyz(9.9588, 6.5620, 41.2908)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223BAF #AF9622
analogous
#2281AF #223BAF #4F22AF
triadic
#223BAF #AF223B #3BAF22
tetradic
#223BAF #AF2281 #AF9622 #22AF4F
square
#223BAF #AF2281 #AF9622 #22AF4F
split-complementary
#223BAF #AF4F22 #81AF22
monochromatic
#0E1849 #182A7C #223BAF #3653D8 #697FE2

Accessibility & contrast

On white

9.08
#223BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#223BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223BAF
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223BAF#FFFFFF#000000##FFFFFF
##223BAF1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223baf;
/* rgb */ color: rgb(34, 59, 175);
/* oklch */ color: oklch(41.7% 0.186 267.5);
Tailwind
colors: {
  custom: {
    50: '#7671c8',
    500: '#223baf',
    950: '#000000',
  },
}
SCSS
$custom: #223baf;
$custom-light: #7671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#223baf",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 229.362,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41675,
    "c": 0.18577,
    "h": 267.5
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#223BAF
secondary
#C8B665
accent
#CC3DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #223BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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