#2C4286#2C4286

#2C4286 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.117 H 267.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2C4286
RGBrgb(44, 66, 134)
HSLhsl(225, 51%, 35%)
HSVhsv(225, 67%, 53%)
CMYKcmyk(67.2%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.79, 15.04, -40.76)
CIE-LCHlch(29.79, 43.45, 290.25°)
OKLaboklab(40.02% -0.0052 -0.1168)
OKLCHoklch(40.02% 0.117 267.4)
XYZxyz(7.2885, 6.1525, 23.3531)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4286 #86702C
analogous
#2C6F86 #2C4286 #432C86
triadic
#2C4286 #862C42 #42862C
tetradic
#2C4286 #862C6F #86702C #2C8643
square
#2C4286 #862C6F #86702C #2C8643
split-complementary
#2C4286 #86432C #6F862C
monochromatic
#0E152A #1D2B58 #2C4286 #3B59B4 #617BCB

Accessibility & contrast

On white

9.41
#2C4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4286
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4286#FFFFFF#000000##FFFFFF
##2C42861.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#064285
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4286;
/* rgb */ color: rgb(44, 66, 134);
/* oklch */ color: oklch(40.0% 0.117 267.4);
Tailwind
colors: {
  custom: {
    50: '#7076aa',
    500: '#2c4286',
    950: '#000000',
  },
}
SCSS
$custom: #2c4286;
$custom-light: #7076aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4286",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 225.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40021,
    "c": 0.11692,
    "h": 267.4
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#2C4286
secondary
#B19D5C
accent
#B84EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4286

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

Preview Lab → · Contrast checker → · Palette generator →

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