#223B95#223B95

#223B95 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.151 H 267.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#223B95
RGBrgb(34, 59, 149)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 58%)
CMYKcmyk(77.2%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.48, 24.13, -52.16)
CIE-LCHlch(28.48, 57.47, 294.83°)
OKLaboklab(39.26% -0.0076 -0.1506)
OKLCHoklch(39.26% 0.151 267.1)
XYZxyz(7.6466, 5.6371, 29.1130)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B95 #957C22
analogous
#227495 #223B95 #432295
triadic
#223B95 #95223B #3B9522
tetradic
#223B95 #952274 #957C22 #229543
square
#223B95 #952274 #957C22 #229543
split-complementary
#223B95 #954322 #749522
monochromatic
#0B1431 #172763 #223B95 #2D4FC7 #5874D9

Accessibility & contrast

On white

9.87
#223B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#223B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B95
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B95#FFFFFF#000000##FFFFFF
##223B951.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223b95;
/* rgb */ color: rgb(34, 59, 149);
/* oklch */ color: oklch(39.3% 0.151 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f70b5',
    500: '#223b95',
    950: '#000000',
  },
}
SCSS
$custom: #223b95;
$custom-light: #6f70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#223b95",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 226.957,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.15083,
    "h": 267.1
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#223B95
secondary
#BDA756
accent
#C242E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223B95

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

Preview Lab → · Contrast checker → · Palette generator →

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