#2C2188#2C2188

#2C2188 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.162 H 278.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2C2188
RGBrgb(44, 33, 136)
HSLhsl(246, 61%, 33%)
HSVhsv(246, 76%, 53%)
CMYKcmyk(67.6%, 75.7%, 0%, 46.7%)
CIE-LABlab(21.58, 37.38, -55.39)
CIE-LCHlch(21.58, 66.82, 304.01°)
OKLaboklab(34.02% 0.0231 -0.1599)
OKLCHoklch(34.02% 0.162 278.2)
XYZxyz(6.0251, 3.4003, 23.6266)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2188 #7D8821
analogous
#214988 #2C2188 #5F2188
triadic
#2C2188 #882C21 #21882C
tetradic
#2C2188 #882149 #7D8821 #21885F
square
#2C2188 #882149 #7D8821 #21885F
split-complementary
#2C2188 #885F21 #498821
monochromatic
#0C0925 #1C1557 #2C2188 #3C2DB9 #5D4FD4

Accessibility & contrast

On white

12.50
#2C2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2188
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2188#FFFFFF#000000##FFFFFF
##2C21881.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2188;
/* rgb */ color: rgb(44, 33, 136);
/* oklch */ color: oklch(34.0% 0.162 278.2);
Tailwind
colors: {
  custom: {
    50: '#735eac',
    500: '#2c2188',
    950: '#000000',
  },
}
SCSS
$custom: #2c2188;
$custom-light: #735eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2188",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 246.408,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.16161,
    "h": 278.2
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#2C2188
secondary
#ACB84D
accent
#E444D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2188

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

Preview Lab → · Contrast checker → · Palette generator →

#2C2188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva