#223B98#223B98

#223B98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.155 H 267.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#223B98
RGBrgb(34, 59, 152)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 78%, 60%)
CMYKcmyk(77.6%, 61.2%, 0%, 40.4%)
CIE-LABlab(28.73, 25.30, -53.58)
CIE-LCHlch(28.73, 59.25, 295.27°)
OKLaboklab(39.52% -0.0075 -0.1548)
OKLCHoklch(39.52% 0.155 267.2)
XYZxyz(7.8892, 5.7341, 30.3907)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B98 #987F22
analogous
#227698 #223B98 #442298
triadic
#223B98 #98223B #3B9822
tetradic
#223B98 #982276 #987F22 #229844
square
#223B98 #982276 #987F22 #229844
split-complementary
#223B98 #984422 #769822
monochromatic
#0C1434 #172866 #223B98 #2D4ECA #5A75DA

Accessibility & contrast

On white

9.78
#223B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#223B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B98
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B98#FFFFFF#000000##FFFFFF
##223B981.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223b98;
/* rgb */ color: rgb(34, 59, 152);
/* oklch */ color: oklch(39.5% 0.155 267.2);
Tailwind
colors: {
  custom: {
    50: '#7070b7',
    500: '#223b98',
    950: '#000000',
  },
}
SCSS
$custom: #223b98;
$custom-light: #7070b7;
$custom-dark: #000000;
JSON
{
  "hex": "#223b98",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 227.288,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.15499,
    "h": 267.2
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#223B98
secondary
#BEA957
accent
#C341E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223B98

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

Preview Lab → · Contrast checker → · Palette generator →

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