#223B94#223B94

#223B94 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.149 H 267.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#223B94
RGBrgb(34, 59, 148)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 58%)
CMYKcmyk(77%, 60.1%, 0%, 42%)
CIE-LABlab(28.39, 23.74, -51.68)
CIE-LCHlch(28.39, 56.88, 294.67°)
OKLaboklab(39.17% -0.0076 -0.1492)
OKLCHoklch(39.17% 0.149 267.1)
XYZxyz(7.5671, 5.6053, 28.6944)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B94 #947B22
analogous
#227494 #223B94 #422294
triadic
#223B94 #94223B #3B9422
tetradic
#223B94 #942274 #947B22 #229442
square
#223B94 #942274 #947B22 #229442
split-complementary
#223B94 #944222 #749422
monochromatic
#0B1330 #172762 #223B94 #2D4FC6 #5874D9

Accessibility & contrast

On white

9.90
#223B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B94
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B94#FFFFFF#000000##FFFFFF
##223B941.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223b94;
/* rgb */ color: rgb(34, 59, 148);
/* oklch */ color: oklch(39.2% 0.149 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f70b4',
    500: '#223b94',
    950: '#000000',
  },
}
SCSS
$custom: #223b94;
$custom-light: #6f70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#223b94",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 226.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39167,
    "c": 0.14943,
    "h": 267.1
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#223B94
secondary
#BDA655
accent
#C242E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223B94

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

Preview Lab → · Contrast checker → · Palette generator →

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