#2C206E#2C206E

#2C206E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.128 H 283.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2C206E
RGBrgb(44, 32, 110)
HSLhsl(249, 55%, 28%)
HSVhsv(249, 71%, 43%)
CMYKcmyk(60%, 70.9%, 0%, 56.9%)
CIE-LABlab(18.77, 29.22, -43.43)
CIE-LCHlch(18.77, 52.34, 303.93°)
OKLaboklab(31.23% 0.029 -0.1249)
OKLCHoklch(31.23% 0.128 283.1)
XYZxyz(4.3688, 2.6940, 15.0386)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C206E #626E20
analogous
#203B6E #2C206E #53206E
triadic
#2C206E #6E2C20 #206E2C
tetradic
#2C206E #6E203B #626E20 #206E53
square
#2C206E #6E203B #626E20 #206E53
split-complementary
#2C206E #6E5320 #3B6E20
monochromatic
#090718 #19123F #2C206E #3F2E9D #5641C8

Accessibility & contrast

On white

13.65
#2C206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C206E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C206E#FFFFFF#000000##FFFFFF
##2C206E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#093444
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c206e;
/* rgb */ color: rgb(44, 32, 110);
/* oklch */ color: oklch(31.2% 0.128 283.1);
Tailwind
colors: {
  custom: {
    50: '#6d5c98',
    500: '#2c206e',
    950: '#000000',
  },
}
SCSS
$custom: #2c206e;
$custom-light: #6d5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#2c206e",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 249.231,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31228,
    "c": 0.12828,
    "h": 283.1
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#2C206E
secondary
#94A248
accent
#DE4AC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2C206E

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

Preview Lab → · Contrast checker → · Palette generator →

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