#2C3686#2C3686

#2C3686 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.133 H 272.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2C3686
RGBrgb(44, 54, 134)
HSLhsl(233, 51%, 35%)
HSVhsv(233, 67%, 53%)
CMYKcmyk(67.2%, 59.7%, 0%, 47.5%)
CIE-LABlab(26.43, 23.23, -46.20)
CIE-LCHlch(26.43, 51.71, 296.70°)
OKLaboklab(37.49% 0.0065 -0.133)
OKLCHoklch(37.49% 0.133 272.8)
XYZxyz(6.6595, 4.8944, 23.1434)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3686 #867C2C
analogous
#2C6386 #2C3686 #4F2C86
triadic
#2C3686 #862C36 #36862C
tetradic
#2C3686 #862C63 #867C2C #2C864F
square
#2C3686 #862C63 #867C2C #2C864F
split-complementary
#2C3686 #864F2C #63862C
monochromatic
#0E112A #1D2358 #2C3686 #3B49B4 #616DCB

Accessibility & contrast

On white

10.61
#2C3686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C3686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3686
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3686#FFFFFF#000000##FFFFFF
##2C36861.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3686;
/* rgb */ color: rgb(44, 54, 134);
/* oklch */ color: oklch(37.5% 0.133 272.8);
Tailwind
colors: {
  custom: {
    50: '#706caa',
    500: '#2c3686',
    950: '#000000',
  },
}
SCSS
$custom: #2c3686;
$custom-light: #706caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3686",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 233.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.13312,
    "h": 272.8
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#2C3686
secondary
#B1A85C
accent
#CA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3686

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

Preview Lab → · Contrast checker → · Palette generator →

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