#2C3688#2C3688

#2C3688 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.136 H 272.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2C3688
RGBrgb(44, 54, 136)
HSLhsl(233, 51%, 35%)
HSVhsv(233, 68%, 53%)
CMYKcmyk(67.6%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.59, 23.98, -47.18)
CIE-LCHlch(26.59, 52.92, 296.94°)
OKLaboklab(37.66% 0.0065 -0.1358)
OKLCHoklch(37.66% 0.136 272.8)
XYZxyz(6.8003, 4.9508, 23.8850)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3688 #887E2C
analogous
#2C6488 #2C3688 #502C88
triadic
#2C3688 #882C36 #36882C
tetradic
#2C3688 #882C64 #887E2C #2C8850
square
#2C3688 #882C64 #887E2C #2C8850
split-complementary
#2C3688 #88502C #64882C
monochromatic
#0E112C #1D245A #2C3688 #3B48B6 #626ECC

Accessibility & contrast

On white

10.55
#2C3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C3688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3688
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3688#FFFFFF#000000##FFFFFF
##2C36881.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3688;
/* rgb */ color: rgb(44, 54, 136);
/* oklch */ color: oklch(37.7% 0.136 272.8);
Tailwind
colors: {
  custom: {
    50: '#716dab',
    500: '#2c3688',
    950: '#000000',
  },
}
SCSS
$custom: #2c3688;
$custom-light: #716dab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3688",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 233.478,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37662,
    "c": 0.13601,
    "h": 272.8
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#2C3688
secondary
#B3A95D
accent
#CB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3688

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

Preview Lab → · Contrast checker → · Palette generator →

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