#223E94#223E94

#223E94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.146 H 266.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#223E94
RGBrgb(34, 62, 148)
HSLhsl(225, 63%, 36%)
HSVhsv(225, 77%, 58%)
CMYKcmyk(77%, 58.1%, 0%, 42%)
CIE-LABlab(29.22, 21.69, -50.35)
CIE-LCHlch(29.22, 54.82, 293.31°)
OKLaboklab(39.78% -0.0098 -0.1453)
OKLCHoklch(39.78% 0.146 266.1)
XYZxyz(7.7257, 5.9226, 28.7472)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E94 #947822
analogous
#227794 #223E94 #3F2294
triadic
#223E94 #94223E #3E9422
tetradic
#223E94 #942277 #947822 #22943F
square
#223E94 #942277 #947822 #22943F
split-complementary
#223E94 #943F22 #779422
monochromatic
#0B1430 #172962 #223E94 #2D53C6 #5877D9

Accessibility & contrast

On white

9.61
#223E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#223E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E94
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E94#FFFFFF#000000##FFFFFF
##223E941.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223e94;
/* rgb */ color: rgb(34, 62, 148);
/* oklch */ color: oklch(39.8% 0.146 266.1);
Tailwind
colors: {
  custom: {
    50: '#6f72b4',
    500: '#223e94',
    950: '#000000',
  },
}
SCSS
$custom: #223e94;
$custom-light: #6f72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#223e94",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 225.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.14559,
    "h": 266.1
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#223E94
secondary
#BDA355
accent
#BE42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #223E94

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

Preview Lab → · Contrast checker → · Palette generator →

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