#2C3580#2C3580

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

Color values

HEX#2C3580
RGBrgb(44, 53, 128)
HSLhsl(234, 49%, 34%)
HSVhsv(234, 66%, 50%)
CMYKcmyk(65.6%, 58.6%, 0%, 49.8%)
CIE-LABlab(25.68, 21.68, -43.66)
CIE-LCHlch(25.68, 48.75, 296.41°)
OKLaboklab(36.78% 0.0074 -0.1255)
OKLCHoklch(36.78% 0.126 273.4)
XYZxyz(6.2068, 4.6397, 20.9863)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3580 #80772C
analogous
#2C5F80 #2C3580 #4D2C80
triadic
#2C3580 #802C35 #35802C
tetradic
#2C3580 #802C5F #80772C #2C804D
square
#2C3580 #802C5F #80772C #2C804D
split-complementary
#2C3580 #804D2C #5F802C
monochromatic
#0D0F25 #1C2252 #2C3580 #3C48AE #5F6AC8

Accessibility & contrast

On white

10.89
#2C3580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C3580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3580
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3580#FFFFFF#000000##FFFFFF
##2C35801.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3580;
/* rgb */ color: rgb(44, 53, 128);
/* oklch */ color: oklch(36.8% 0.126 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f6ca5',
    500: '#2c3580',
    950: '#000000',
  },
}
SCSS
$custom: #2c3580;
$custom-light: #6f6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3580",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 128
  },
  "hsl": {
    "h": 233.571,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.12573,
    "h": 273.4
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#2C3580
secondary
#AEA55A
accent
#CA4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C3580

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

Preview Lab → · Contrast checker → · Palette generator →

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