#2C3C85#2C3C85

#2C3C85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.124 H 270.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2C3C85
RGBrgb(44, 60, 133)
HSLhsl(229, 50%, 35%)
HSVhsv(229, 67%, 52%)
CMYKcmyk(66.9%, 54.9%, 0%, 47.8%)
CIE-LABlab(28.01, 18.76, -43.02)
CIE-LCHlch(28.01, 46.94, 293.56°)
OKLaboklab(38.65% 0.0007 -0.1235)
OKLCHoklch(38.65% 0.124 270.3)
XYZxyz(6.8868, 5.4600, 22.8767)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C85 #85752C
analogous
#2C6985 #2C3C85 #482C85
triadic
#2C3C85 #852C3C #3C852C
tetradic
#2C3C85 #852C69 #85752C #2C8548
square
#2C3C85 #852C69 #85752C #2C8548
split-complementary
#2C3C85 #85482C #69852C
monochromatic
#0E1329 #1D2757 #2C3C85 #3B51B3 #6174CB

Accessibility & contrast

On white

10.04
#2C3C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C3C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C85
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C85#FFFFFF#000000##FFFFFF
##2C3C851.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3c85;
/* rgb */ color: rgb(44, 60, 133);
/* oklch */ color: oklch(38.6% 0.124 270.3);
Tailwind
colors: {
  custom: {
    50: '#7071a9',
    500: '#2c3c85',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c85;
$custom-light: #7071a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c85",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 229.213,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.12354,
    "h": 270.3
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#2C3C85
secondary
#B1A25C
accent
#C14EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3C85

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

Preview Lab → · Contrast checker → · Palette generator →

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