#223175#223175

#223175 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.118 H 269.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#223175
RGBrgb(34, 49, 117)
HSLhsl(229, 55%, 30%)
HSVhsv(229, 71%, 46%)
CMYKcmyk(70.9%, 58.1%, 0%, 54.1%)
CIE-LABlab(23.07, 18.54, -40.97)
CIE-LCHlch(23.07, 44.97, 294.35°)
OKLaboklab(34.38% -0.0005 -0.1179)
OKLCHoklch(34.38% 0.118 269.8)
XYZxyz(4.9678, 3.8206, 17.3018)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223175 #756622
analogous
#225A75 #223175 #3D2275
triadic
#223175 #752231 #317522
tetradic
#223175 #75225A #756622 #22753D
square
#223175 #75225A #756622 #22753D
split-complementary
#223175 #753D22 #5A7522
monochromatic
#070A18 #141D46 #223175 #3045A4 #485FCA

Accessibility & contrast

On white

11.90
#223175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#223175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223175
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223175#FFFFFF#000000##FFFFFF
##2231751.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223175;
/* rgb */ color: rgb(34, 49, 117);
/* oklch */ color: oklch(34.4% 0.118 269.8);
Tailwind
colors: {
  custom: {
    50: '#68689d',
    500: '#223175',
    950: '#000000',
  },
}
SCSS
$custom: #223175;
$custom-light: #68689d;
$custom-dark: #000000;
JSON
{
  "hex": "#223175",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 229.157,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34384,
    "c": 0.11789,
    "h": 269.8
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#223175
secondary
#A8974B
accent
#C349DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223175

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

Preview Lab → · Contrast checker → · Palette generator →

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