#223183#223183

#223183 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.138 H 269.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#223183
RGBrgb(34, 49, 131)
HSLhsl(231, 59%, 32%)
HSVhsv(231, 74%, 51%)
CMYKcmyk(74%, 62.6%, 0%, 48.6%)
CIE-LABlab(24.24, 24.00, -47.92)
CIE-LCHlch(24.24, 53.59, 296.60°)
OKLaboklab(35.63% -0.0002 -0.1383)
OKLCHoklch(35.63% 0.138 269.9)
XYZxyz(5.8533, 4.1748, 21.9657)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223183 #837422
analogous
#226183 #223183 #442283
triadic
#223183 #832231 #318322
tetradic
#223183 #832261 #837422 #228344
square
#223183 #832261 #837422 #228344
split-complementary
#223183 #834422 #618322
monochromatic
#090D22 #151F52 #223183 #2F43B4 #4E63D1

Accessibility & contrast

On white

11.44
#223183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#223183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223183
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223183#FFFFFF#000000##FFFFFF
##2231831.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223183;
/* rgb */ color: rgb(34, 49, 131);
/* oklch */ color: oklch(35.6% 0.138 269.9);
Tailwind
colors: {
  custom: {
    50: '#6c69a8',
    500: '#223183',
    950: '#000000',
  },
}
SCSS
$custom: #223183;
$custom-light: #6c69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#223183",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 230.722,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35625,
    "c": 0.13831,
    "h": 269.9
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#223183
secondary
#B4A44C
accent
#CA46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #223183

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

Preview Lab → · Contrast checker → · Palette generator →

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