#2C4982#2C4982

#2C4982 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.102 H 262.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2C4982
RGBrgb(44, 73, 130)
HSLhsl(220, 49%, 34%)
HSVhsv(220, 66%, 51%)
CMYKcmyk(66.2%, 43.8%, 0%, 49%)
CIE-LABlab(31.60, 8.78, -35.38)
CIE-LCHlch(31.60, 36.46, 283.94°)
OKLaboklab(41.32% -0.0133 -0.1009)
OKLCHoklch(41.32% 0.102 262.5)
XYZxyz(7.4491, 6.9116, 22.0563)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4982 #82652C
analogous
#2C7482 #2C4982 #3A2C82
triadic
#2C4982 #822C49 #49822C
tetradic
#2C4982 #822C74 #82652C #2C823A
square
#2C4982 #822C74 #82652C #2C823A
split-complementary
#2C4982 #823A2C #74822C
monochromatic
#0D1627 #1D2F54 #2C4982 #3B63B0 #5F83C9

Accessibility & contrast

On white

8.81
#2C4982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C4982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4982
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4982#FFFFFF#000000##FFFFFF
##2C49821.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#224781
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4982;
/* rgb */ color: rgb(44, 73, 130);
/* oklch */ color: oklch(41.3% 0.102 262.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ba7',
    500: '#2c4982',
    950: '#000000',
  },
}
SCSS
$custom: #2c4982;
$custom-light: #6e7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4982",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 219.767,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.10175,
    "h": 262.5
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#2C4982
secondary
#AF935B
accent
#AA4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C4982

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

Preview Lab → · Contrast checker → · Palette generator →

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