#223275#223275

#223275 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.117 H 269.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#223275
RGBrgb(34, 50, 117)
HSLhsl(228, 55%, 30%)
HSVhsv(228, 71%, 46%)
CMYKcmyk(70.9%, 57.3%, 0%, 54.1%)
CIE-LABlab(23.36, 17.84, -40.50)
CIE-LCHlch(23.36, 44.26, 293.77°)
OKLaboklab(34.6% -0.0014 -0.1165)
OKLCHoklch(34.6% 0.117 269.3)
XYZxyz(5.0101, 3.9052, 17.3159)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223275 #756522
analogous
#225C75 #223275 #3C2275
triadic
#223275 #752232 #327522
tetradic
#223275 #75225C #756522 #22753C
square
#223275 #75225C #756522 #22753C
split-complementary
#223275 #753C22 #5C7522
monochromatic
#070A18 #141E46 #223275 #3046A4 #4861CA

Accessibility & contrast

On white

11.79
#223275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#223275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223275
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223275#FFFFFF#000000##FFFFFF
##2232751.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223275;
/* rgb */ color: rgb(34, 50, 117);
/* oklch */ color: oklch(34.6% 0.117 269.3);
Tailwind
colors: {
  custom: {
    50: '#68699d',
    500: '#223275',
    950: '#000000',
  },
}
SCSS
$custom: #223275;
$custom-light: #68699d;
$custom-dark: #000000;
JSON
{
  "hex": "#223275",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 117
  },
  "hsl": {
    "h": 228.434,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34599,
    "c": 0.11652,
    "h": 269.3
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#223275
secondary
#A8964B
accent
#C249DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223275

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

Preview Lab → · Contrast checker → · Palette generator →

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