#223A95#223A95

#223A95 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.152 H 267.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#223A95
RGBrgb(34, 58, 149)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 58%)
CMYKcmyk(77.2%, 61.1%, 0%, 41.6%)
CIE-LABlab(28.21, 24.81, -52.60)
CIE-LCHlch(28.21, 58.16, 295.26°)
OKLaboklab(39.05% -0.0069 -0.1519)
OKLCHoklch(39.05% 0.152 267.4)
XYZxyz(7.5957, 5.5353, 29.0960)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A95 #957D22
analogous
#227395 #223A95 #432295
triadic
#223A95 #95223A #3A9522
tetradic
#223A95 #952273 #957D22 #229543
square
#223A95 #952273 #957D22 #229543
split-complementary
#223A95 #954322 #739522
monochromatic
#0B1331 #172763 #223A95 #2D4DC7 #5873D9

Accessibility & contrast

On white

9.97
#223A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#223A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A95
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A95#FFFFFF#000000##FFFFFF
##223A951.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223a95;
/* rgb */ color: rgb(34, 58, 149);
/* oklch */ color: oklch(39.1% 0.152 267.4);
Tailwind
colors: {
  custom: {
    50: '#706fb5',
    500: '#223a95',
    950: '#000000',
  },
}
SCSS
$custom: #223a95;
$custom-light: #706fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#223a95",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 227.478,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39054,
    "c": 0.1521,
    "h": 267.4
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#223A95
secondary
#BDA856
accent
#C442E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223A95

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

Preview Lab → · Contrast checker → · Palette generator →

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