#2C3885#2C3885

#2C3885 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.129 H 272.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2C3885
RGBrgb(44, 56, 133)
HSLhsl(232, 50%, 35%)
HSVhsv(232, 67%, 52%)
CMYKcmyk(66.9%, 57.9%, 0%, 47.8%)
CIE-LABlab(26.90, 21.50, -44.82)
CIE-LCHlch(26.90, 49.71, 295.62°)
OKLaboklab(37.81% 0.0046 -0.1289)
OKLCHoklch(37.81% 0.129 272)
XYZxyz(6.6851, 5.0567, 22.8095)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3885 #85792C
analogous
#2C6585 #2C3885 #4D2C85
triadic
#2C3885 #852C38 #38852C
tetradic
#2C3885 #852C65 #85792C #2C854D
square
#2C3885 #852C65 #85792C #2C854D
split-complementary
#2C3885 #854D2C #65852C
monochromatic
#0E1129 #1D2557 #2C3885 #3B4BB3 #616FCB

Accessibility & contrast

On white

10.44
#2C3885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C3885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3885
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3885#FFFFFF#000000##FFFFFF
##2C38851.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3885;
/* rgb */ color: rgb(44, 56, 133);
/* oklch */ color: oklch(37.8% 0.129 272.0);
Tailwind
colors: {
  custom: {
    50: '#706ea9',
    500: '#2c3885',
    950: '#000000',
  },
}
SCSS
$custom: #2c3885;
$custom-light: #706ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3885",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 133
  },
  "hsl": {
    "h": 231.91,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37811,
    "c": 0.12897,
    "h": 272
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#2C3885
secondary
#B1A55C
accent
#C74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3885

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

Preview Lab → · Contrast checker → · Palette generator →

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