#223D95#223D95

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

Color values

HEX#223D95
RGBrgb(34, 61, 149)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 58%)
CMYKcmyk(77.2%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.02, 22.77, -51.27)
CIE-LCHlch(29.02, 56.10, 293.94°)
OKLaboklab(39.66% -0.009 -0.148)
OKLCHoklch(39.66% 0.148 266.5)
XYZxyz(7.7513, 5.8466, 29.1479)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D95 #957A22
analogous
#227695 #223D95 #402295
triadic
#223D95 #95223D #3D9522
tetradic
#223D95 #952276 #957A22 #229540
square
#223D95 #952276 #957A22 #229540
split-complementary
#223D95 #954022 #769522
monochromatic
#0B1431 #172963 #223D95 #2D51C7 #5877D9

Accessibility & contrast

On white

9.68
#223D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#223D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D95
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D95#FFFFFF#000000##FFFFFF
##223D951.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223d95;
/* rgb */ color: rgb(34, 61, 149);
/* oklch */ color: oklch(39.7% 0.148 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f72b5',
    500: '#223d95',
    950: '#000000',
  },
}
SCSS
$custom: #223d95;
$custom-light: #6f72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#223d95",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 225.913,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.14828,
    "h": 266.5
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#223D95
secondary
#BDA556
accent
#BF42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223D95

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

Preview Lab → · Contrast checker → · Palette generator →

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