#2C3280#2C3280

#2C3280 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.130 H 274.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2C3280
RGBrgb(44, 50, 128)
HSLhsl(236, 49%, 34%)
HSVhsv(236, 66%, 50%)
CMYKcmyk(65.6%, 60.9%, 0%, 49.8%)
CIE-LABlab(24.87, 23.73, -44.98)
CIE-LCHlch(24.87, 50.85, 297.81°)
OKLaboklab(36.18% 0.0103 -0.1294)
OKLCHoklch(36.18% 0.13 274.5)
XYZxyz(6.0743, 4.3747, 20.9422)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3280 #807A2C
analogous
#2C5C80 #2C3280 #502C80
triadic
#2C3280 #802C32 #32802C
tetradic
#2C3280 #802C5C #807A2C #2C8050
square
#2C3280 #802C5C #807A2C #2C8050
split-complementary
#2C3280 #80502C #5C802C
monochromatic
#0D0E25 #1C2052 #2C3280 #3C44AE #5F66C8

Accessibility & contrast

On white

11.20
#2C3280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C3280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3280
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3280#FFFFFF#000000##FFFFFF
##2C32801.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c3280;
/* rgb */ color: rgb(44, 50, 128);
/* oklch */ color: oklch(36.2% 0.130 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f69a5',
    500: '#2c3280',
    950: '#000000',
  },
}
SCSS
$custom: #2c3280;
$custom-light: #6f69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3280",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 235.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36179,
    "c": 0.12982,
    "h": 274.5
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#2C3280
secondary
#AEA85A
accent
#CF4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C3280

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

Preview Lab → · Contrast checker → · Palette generator →

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