#223875#223875

#223875 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.108 H 266.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#223875
RGBrgb(34, 56, 117)
HSLhsl(224, 55%, 30%)
HSVhsv(224, 71%, 46%)
CMYKcmyk(70.9%, 52.1%, 0%, 54.1%)
CIE-LABlab(25.11, 13.61, -37.66)
CIE-LCHlch(25.11, 40.05, 289.87°)
OKLaboklab(35.93% -0.0073 -0.1081)
OKLCHoklch(35.93% 0.108 266.2)
XYZxyz(5.2836, 4.4523, 17.4071)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223875 #755F22
analogous
#226275 #223875 #352275
triadic
#223875 #752238 #387522
tetradic
#223875 #752262 #755F22 #227535
square
#223875 #752262 #755F22 #227535
split-complementary
#223875 #753522 #627522
monochromatic
#070B18 #142146 #223875 #304FA4 #486ACA

Accessibility & contrast

On white

11.11
#223875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#223875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223875
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223875#FFFFFF#000000##FFFFFF
##2238751.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223875;
/* rgb */ color: rgb(34, 56, 117);
/* oklch */ color: oklch(35.9% 0.108 266.2);
Tailwind
colors: {
  custom: {
    50: '#686e9d',
    500: '#223875',
    950: '#000000',
  },
}
SCSS
$custom: #223875;
$custom-light: #686e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#223875",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 117
  },
  "hsl": {
    "h": 224.096,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35929,
    "c": 0.1083,
    "h": 266.2
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#223875
secondary
#A88F4B
accent
#B749DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223875

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

Preview Lab → · Contrast checker → · Palette generator →

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