#2C3385#2C3385

#2C3385 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.136 H 273.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2C3385
RGBrgb(44, 51, 133)
HSLhsl(235, 50%, 35%)
HSVhsv(235, 67%, 52%)
CMYKcmyk(66.9%, 61.7%, 0%, 47.8%)
CIE-LABlab(25.55, 24.89, -47.01)
CIE-LCHlch(25.55, 53.19, 297.90°)
OKLaboklab(36.81% 0.0093 -0.1354)
OKLCHoklch(36.81% 0.136 273.9)
XYZxyz(6.4548, 4.5960, 22.7327)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3385 #857E2C
analogous
#2C6085 #2C3385 #522C85
triadic
#2C3385 #852C33 #33852C
tetradic
#2C3385 #852C60 #857E2C #2C8552
square
#2C3385 #852C60 #857E2C #2C8552
split-complementary
#2C3385 #85522C #60852C
monochromatic
#0E1029 #1D2157 #2C3385 #3B45B3 #6169CB

Accessibility & contrast

On white

10.94
#2C3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3385
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3385#FFFFFF#000000##FFFFFF
##2C33851.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3385;
/* rgb */ color: rgb(44, 51, 133);
/* oklch */ color: oklch(36.8% 0.136 273.9);
Tailwind
colors: {
  custom: {
    50: '#706aa9',
    500: '#2c3385',
    950: '#000000',
  },
}
SCSS
$custom: #2c3385;
$custom-light: #706aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3385",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 235.281,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36811,
    "c": 0.13569,
    "h": 273.9
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#2C3385
secondary
#B1AA5C
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3385

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

Preview Lab → · Contrast checker → · Palette generator →

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