#223C95#223C95

#223C95 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.150 H 266.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#223C95
RGBrgb(34, 60, 149)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 58%)
CMYKcmyk(77.2%, 59.7%, 0%, 41.6%)
CIE-LABlab(28.75, 23.45, -51.72)
CIE-LCHlch(28.75, 56.79, 294.39°)
OKLaboklab(39.46% -0.0083 -0.1493)
OKLCHoklch(39.46% 0.15 266.8)
XYZxyz(7.6985, 5.7409, 29.1303)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C95 #957B22
analogous
#227595 #223C95 #412295
triadic
#223C95 #95223C #3C9522
tetradic
#223C95 #952275 #957B22 #229541
square
#223C95 #952275 #957B22 #229541
split-complementary
#223C95 #954122 #759522
monochromatic
#0B1431 #172863 #223C95 #2D50C7 #5875D9

Accessibility & contrast

On white

9.77
#223C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#223C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C95
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C95#FFFFFF#000000##FFFFFF
##223C951.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223c95;
/* rgb */ color: rgb(34, 60, 149);
/* oklch */ color: oklch(39.5% 0.150 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f71b5',
    500: '#223c95',
    950: '#000000',
  },
}
SCSS
$custom: #223c95;
$custom-light: #6f71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#223c95",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 226.435,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.14956,
    "h": 266.8
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#223C95
secondary
#BDA656
accent
#C142E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223C95

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

Preview Lab → · Contrast checker → · Palette generator →

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