#223693#223693

#223693 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.154 H 268.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#223693
RGBrgb(34, 54, 147)
HSLhsl(229, 62%, 35%)
HSVhsv(229, 77%, 58%)
CMYKcmyk(76.9%, 63.3%, 0%, 42.4%)
CIE-LABlab(26.97, 26.76, -53.39)
CIE-LCHlch(26.97, 59.72, 296.62°)
OKLaboklab(38.08% -0.0041 -0.1543)
OKLCHoklch(38.08% 0.154 268.5)
XYZxyz(7.2435, 5.0842, 28.1977)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223693 #937F22
analogous
#226E93 #223693 #472293
triadic
#223693 #932236 #369322
tetradic
#223693 #93226E #937F22 #229347
square
#223693 #93226E #937F22 #229347
split-complementary
#223693 #934722 #6E9322
monochromatic
#0B1130 #172461 #223693 #2D48C5 #576ED8

Accessibility & contrast

On white

10.41
#223693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223693
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223693#FFFFFF#000000##FFFFFF
##2236931.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223693;
/* rgb */ color: rgb(34, 54, 147);
/* oklch */ color: oklch(38.1% 0.154 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f6cb4',
    500: '#223693',
    950: '#000000',
  },
}
SCSS
$custom: #223693;
$custom-light: #6f6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#223693",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 147
  },
  "hsl": {
    "h": 229.381,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.15436,
    "h": 268.5
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#223693
secondary
#BCAA55
accent
#C942E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223693

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

Preview Lab → · Contrast checker → · Palette generator →

#223693 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva