#223A78#223A78

#223A78 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.110 H 265.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#223A78
RGBrgb(34, 58, 120)
HSLhsl(223, 56%, 30%)
HSVhsv(223, 72%, 47%)
CMYKcmyk(71.7%, 51.7%, 0%, 52.9%)
CIE-LABlab(25.93, 13.40, -38.25)
CIE-LCHlch(25.93, 40.53, 289.30°)
OKLaboklab(36.62% -0.0089 -0.1098)
OKLCHoklch(36.62% 0.11 265.4)
XYZxyz(5.5617, 4.7217, 18.3839)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A78 #786022
analogous
#226578 #223A78 #352278
triadic
#223A78 #78223A #3A7822
tetradic
#223A78 #782265 #786022 #227835
square
#223A78 #782265 #786022 #227835
split-complementary
#223A78 #783522 #657822
monochromatic
#070C19 #142348 #223A78 #3051A8 #496DCB

Accessibility & contrast

On white

10.80
#223A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#223A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A78
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A78#FFFFFF#000000##FFFFFF
##223A781.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223a78;
/* rgb */ color: rgb(34, 58, 120);
/* oklch */ color: oklch(36.6% 0.110 265.4);
Tailwind
colors: {
  custom: {
    50: '#686f9f',
    500: '#223a78',
    950: '#000000',
  },
}
SCSS
$custom: #223a78;
$custom-light: #686f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#223a78",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 223.256,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36617,
    "c": 0.11012,
    "h": 265.4
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#223A78
secondary
#AB904B
accent
#B549DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223A78

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

Preview Lab → · Contrast checker → · Palette generator →

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