#2C3685#2C3685

#2C3685 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.132 H 272.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2C3685
RGBrgb(44, 54, 133)
HSLhsl(233, 50%, 35%)
HSVhsv(233, 67%, 52%)
CMYKcmyk(66.9%, 59.4%, 0%, 47.8%)
CIE-LABlab(26.35, 22.86, -45.71)
CIE-LCHlch(26.35, 51.10, 296.57°)
OKLaboklab(37.41% 0.0065 -0.1315)
OKLCHoklch(37.41% 0.132 272.8)
XYZxyz(6.5901, 4.8667, 22.7778)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3685 #857B2C
analogous
#2C6385 #2C3685 #4E2C85
triadic
#2C3685 #852C36 #36852C
tetradic
#2C3685 #852C63 #857B2C #2C854E
square
#2C3685 #852C63 #857B2C #2C854E
split-complementary
#2C3685 #854E2C #63852C
monochromatic
#0E1129 #1D2357 #2C3685 #3B49B3 #616DCB

Accessibility & contrast

On white

10.64
#2C3685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C3685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3685
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3685#FFFFFF#000000##FFFFFF
##2C36851.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3685;
/* rgb */ color: rgb(44, 54, 133);
/* oklch */ color: oklch(37.4% 0.132 272.8);
Tailwind
colors: {
  custom: {
    50: '#706ca9',
    500: '#2c3685',
    950: '#000000',
  },
}
SCSS
$custom: #2c3685;
$custom-light: #706ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3685",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 233.258,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37405,
    "c": 0.13167,
    "h": 272.8
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#2C3685
secondary
#B1A75C
accent
#CA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3685

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

Preview Lab → · Contrast checker → · Palette generator →

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