#2C3285#2C3285

#2C3285 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.137 H 274.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2C3285
RGBrgb(44, 50, 133)
HSLhsl(236, 50%, 35%)
HSVhsv(236, 67%, 52%)
CMYKcmyk(66.9%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.29, 25.57, -47.43)
CIE-LCHlch(25.29, 53.89, 298.32°)
OKLaboklab(36.62% 0.0102 -0.1366)
OKLCHoklch(36.62% 0.137 274.3)
XYZxyz(6.4115, 4.5096, 22.7183)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3285 #857F2C
analogous
#2C5F85 #2C3285 #532C85
triadic
#2C3285 #852C32 #32852C
tetradic
#2C3285 #852C5F #857F2C #2C8553
square
#2C3285 #852C5F #857F2C #2C8553
split-complementary
#2C3285 #85532C #5F852C
monochromatic
#0E0F29 #1D2157 #2C3285 #3B43B3 #6168CB

Accessibility & contrast

On white

11.04
#2C3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3285
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3285#FFFFFF#000000##FFFFFF
##2C32851.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3285;
/* rgb */ color: rgb(44, 50, 133);
/* oklch */ color: oklch(36.6% 0.137 274.3);
Tailwind
colors: {
  custom: {
    50: '#706aa9',
    500: '#2c3285',
    950: '#000000',
  },
}
SCSS
$custom: #2c3285;
$custom-light: #706aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3285",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 235.955,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36617,
    "c": 0.13701,
    "h": 274.3
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#2C3285
secondary
#B1AB5C
accent
#D04EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3285

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

Preview Lab → · Contrast checker → · Palette generator →

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