#223E95#223E95

#223E95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.147 H 266.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#223E95
RGBrgb(34, 62, 149)
HSLhsl(225, 63%, 36%)
HSVhsv(225, 77%, 58%)
CMYKcmyk(77.2%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.30, 22.08, -50.83)
CIE-LCHlch(29.30, 55.42, 293.48°)
OKLaboklab(39.87% -0.0098 -0.1467)
OKLCHoklch(39.87% 0.147 266.2)
XYZxyz(7.8052, 5.9544, 29.1659)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E95 #957922
analogous
#227795 #223E95 #3F2295
triadic
#223E95 #95223E #3E9522
tetradic
#223E95 #952277 #957922 #22953F
square
#223E95 #952277 #957922 #22953F
split-complementary
#223E95 #953F22 #779522
monochromatic
#0B1531 #172963 #223E95 #2D53C7 #5878D9

Accessibility & contrast

On white

9.58
#223E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#223E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E95
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E95#FFFFFF#000000##FFFFFF
##223E951.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223e95;
/* rgb */ color: rgb(34, 62, 149);
/* oklch */ color: oklch(39.9% 0.147 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f72b5',
    500: '#223e95',
    950: '#000000',
  },
}
SCSS
$custom: #223e95;
$custom-light: #6f72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#223e95",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 225.391,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39868,
    "c": 0.147,
    "h": 266.2
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223E95

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

Preview Lab → · Contrast checker → · Palette generator →

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