#2C286E#2C286E

#2C286E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.117 H 280.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#2C286E
RGBrgb(44, 40, 110)
HSLhsl(243, 47%, 29%)
HSVhsv(243, 64%, 43%)
CMYKcmyk(60%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.75, 23.97, -40.21)
CIE-LCHlch(20.75, 46.82, 300.80°)
OKLaboklab(32.66% 0.0209 -0.1155)
OKLCHoklch(32.66% 0.117 280.2)
XYZxyz(4.6111, 3.1785, 15.1194)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C286E #6A6E28
analogous
#28476E #2C286E #4F286E
triadic
#2C286E #6E2C28 #286E2C
tetradic
#2C286E #6E2847 #6A6E28 #286E4F
square
#2C286E #6E2847 #6A6E28 #286E4F
split-complementary
#2C286E #6E4F28 #476E28
monochromatic
#090816 #1A1841 #2C286E #3E389B #5751C0

Accessibility & contrast

On white

12.84
#2C286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C286E
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C286E#FFFFFF#000000##FFFFFF
##2C286E1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#073947
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c286e;
/* rgb */ color: rgb(44, 40, 110);
/* oklch */ color: oklch(32.7% 0.117 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c6298',
    500: '#2c286e',
    950: '#000000',
  },
}
SCSS
$custom: #2c286e;
$custom-light: #6c6298;
$custom-dark: #000000;
JSON
{
  "hex": "#2c286e",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 243.429,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32663,
    "c": 0.11735,
    "h": 280.2
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#2C286E
secondary
#9CA051
accent
#D651CF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C286E

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

Preview Lab → · Contrast checker → · Palette generator →

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