#2C3182#2C3182

#2C3182 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.134 H 274.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2C3182
RGBrgb(44, 49, 130)
HSLhsl(237, 49%, 34%)
HSVhsv(237, 66%, 51%)
CMYKcmyk(66.2%, 62.3%, 0%, 49%)
CIE-LABlab(24.78, 25.14, -46.39)
CIE-LCHlch(24.78, 52.77, 298.45°)
OKLaboklab(36.16% 0.0112 -0.1336)
OKLCHoklch(36.16% 0.134 274.8)
XYZxyz(6.1650, 4.3433, 21.6282)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3182 #827D2C
analogous
#2C5C82 #2C3182 #522C82
triadic
#2C3182 #822C31 #31822C
tetradic
#2C3182 #822C5C #827D2C #2C8252
square
#2C3182 #822C5C #827D2C #2C8252
split-complementary
#2C3182 #82522C #5C822C
monochromatic
#0D0F27 #1D2054 #2C3182 #3B42B0 #5F66C9

Accessibility & contrast

On white

11.24
#2C3182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C3182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3182
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3182#FFFFFF#000000##FFFFFF
##2C31821.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c3182;
/* rgb */ color: rgb(44, 49, 130);
/* oklch */ color: oklch(36.2% 0.134 274.8);
Tailwind
colors: {
  custom: {
    50: '#7069a7',
    500: '#2c3182',
    950: '#000000',
  },
}
SCSS
$custom: #2c3182;
$custom-light: #7069a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3182",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 236.512,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36159,
    "c": 0.13405,
    "h": 274.8
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#2C3182
secondary
#AFAA5B
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C3182

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

Preview Lab → · Contrast checker → · Palette generator →

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