#223D94#223D94

#223D94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.147 H 266.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#223D94
RGBrgb(34, 61, 148)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 58%)
CMYKcmyk(77%, 58.8%, 0%, 42%)
CIE-LABlab(28.94, 22.38, -50.79)
CIE-LCHlch(28.94, 55.51, 293.78°)
OKLaboklab(39.57% -0.0091 -0.1466)
OKLCHoklch(39.57% 0.147 266.5)
XYZxyz(7.6719, 5.8148, 28.7293)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D94 #947922
analogous
#227694 #223D94 #402294
triadic
#223D94 #94223D #3D9422
tetradic
#223D94 #942276 #947922 #229440
square
#223D94 #942276 #947922 #229440
split-complementary
#223D94 #944022 #769422
monochromatic
#0B1430 #172862 #223D94 #2D52C6 #5876D9

Accessibility & contrast

On white

9.71
#223D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#223D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D94
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D94#FFFFFF#000000##FFFFFF
##223D941.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223d94;
/* rgb */ color: rgb(34, 61, 148);
/* oklch */ color: oklch(39.6% 0.147 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f72b4',
    500: '#223d94',
    950: '#000000',
  },
}
SCSS
$custom: #223d94;
$custom-light: #6f72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#223d94",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 225.789,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.14688,
    "h": 266.5
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#223D94
secondary
#BDA455
accent
#BF42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223D94

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

Preview Lab → · Contrast checker → · Palette generator →

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