#2C3687#2C3687

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

Color values

HEX#2C3687
RGBrgb(44, 54, 135)
HSLhsl(233, 51%, 35%)
HSVhsv(233, 67%, 53%)
CMYKcmyk(67.4%, 60%, 0%, 47.1%)
CIE-LABlab(26.51, 23.60, -46.69)
CIE-LCHlch(26.51, 52.32, 296.82°)
OKLaboklab(37.58% 0.0065 -0.1344)
OKLCHoklch(37.58% 0.135 272.8)
XYZxyz(6.7296, 4.9225, 23.5125)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3687 #877D2C
analogous
#2C6387 #2C3687 #502C87
triadic
#2C3687 #872C36 #36872C
tetradic
#2C3687 #872C63 #877D2C #2C8750
square
#2C3687 #872C63 #877D2C #2C8750
split-complementary
#2C3687 #87502C #63872C
monochromatic
#0E112B #1D2459 #2C3687 #3B48B5 #626DCC

Accessibility & contrast

On white

10.58
#2C3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3687
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3687#FFFFFF#000000##FFFFFF
##2C36871.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3687;
/* rgb */ color: rgb(44, 54, 135);
/* oklch */ color: oklch(37.6% 0.135 272.8);
Tailwind
colors: {
  custom: {
    50: '#716dab',
    500: '#2c3687',
    950: '#000000',
  },
}
SCSS
$custom: #2c3687;
$custom-light: #716dab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3687",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 233.407,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37576,
    "c": 0.13457,
    "h": 272.8
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#2C3687
secondary
#B2A95D
accent
#CB4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3687

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

Preview Lab → · Contrast checker → · Palette generator →

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