#2C3281#2C3281

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

Color values

HEX#2C3281
RGBrgb(44, 50, 129)
HSLhsl(236, 49%, 34%)
HSVhsv(236, 66%, 51%)
CMYKcmyk(65.9%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.96, 24.09, -45.47)
CIE-LCHlch(24.96, 51.46, 297.92°)
OKLaboklab(36.27% 0.0103 -0.1309)
OKLCHoklch(36.27% 0.131 274.5)
XYZxyz(6.1404, 4.4011, 21.2905)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3281 #817B2C
analogous
#2C5D81 #2C3281 #512C81
triadic
#2C3281 #812C32 #32812C
tetradic
#2C3281 #812C5D #817B2C #2C8151
square
#2C3281 #812C5D #817B2C #2C8151
split-complementary
#2C3281 #81512C #5D812C
monochromatic
#0D0F26 #1C2053 #2C3281 #3C44AF #5F66C8

Accessibility & contrast

On white

11.17
#2C3281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3281
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3281#FFFFFF#000000##FFFFFF
##2C32811.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c3281;
/* rgb */ color: rgb(44, 50, 129);
/* oklch */ color: oklch(36.3% 0.131 274.5);
Tailwind
colors: {
  custom: {
    50: '#7069a6',
    500: '#2c3281',
    950: '#000000',
  },
}
SCSS
$custom: #2c3281;
$custom-light: #7069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3281",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 235.765,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36266,
    "c": 0.13126,
    "h": 274.5
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#2C3281
secondary
#AFA95A
accent
#CF4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C3281

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

Preview Lab → · Contrast checker → · Palette generator →

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