#223A93#223A93

#223A93 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.149 H 267.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#223A93
RGBrgb(34, 58, 147)
HSLhsl(227, 62%, 35%)
HSVhsv(227, 77%, 58%)
CMYKcmyk(76.9%, 60.5%, 0%, 42.4%)
CIE-LABlab(28.04, 24.04, -51.65)
CIE-LCHlch(28.04, 56.97, 294.96°)
OKLaboklab(38.88% -0.0069 -0.1491)
OKLCHoklch(38.88% 0.149 267.3)
XYZxyz(7.4374, 5.4720, 28.2623)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A93 #937B22
analogous
#227293 #223A93 #432293
triadic
#223A93 #93223A #3A9322
tetradic
#223A93 #932272 #937B22 #229343
square
#223A93 #932272 #937B22 #229343
split-complementary
#223A93 #934322 #729322
monochromatic
#0B1330 #172661 #223A93 #2D4EC5 #5773D8

Accessibility & contrast

On white

10.03
#223A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A93
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A93#FFFFFF#000000##FFFFFF
##223A931.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223a93;
/* rgb */ color: rgb(34, 58, 147);
/* oklch */ color: oklch(38.9% 0.149 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb3',
    500: '#223a93',
    950: '#000000',
  },
}
SCSS
$custom: #223a93;
$custom-light: #6f6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#223a93",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 227.257,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.14931,
    "h": 267.3
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#223A93
secondary
#BCA655
accent
#C342E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223A93

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

Preview Lab → · Contrast checker → · Palette generator →

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