#2C4482#2C4482

#2C4482 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.108 H 265.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2C4482
RGBrgb(44, 68, 130)
HSLhsl(223, 49%, 34%)
HSVhsv(223, 66%, 51%)
CMYKcmyk(66.2%, 47.7%, 0%, 49%)
CIE-LABlab(30.11, 12.16, -37.77)
CIE-LCHlch(30.11, 39.68, 287.84°)
OKLaboklab(40.17% -0.0079 -0.108)
OKLCHoklch(40.17% 0.108 265.8)
XYZxyz(7.1337, 6.2808, 21.9511)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4482 #826A2C
analogous
#2C6F82 #2C4482 #3F2C82
triadic
#2C4482 #822C44 #44822C
tetradic
#2C4482 #822C6F #826A2C #2C823F
square
#2C4482 #822C6F #826A2C #2C823F
split-complementary
#2C4482 #823F2C #6F822C
monochromatic
#0D1427 #1D2C54 #2C4482 #3B5CB0 #5F7DC9

Accessibility & contrast

On white

9.31
#2C4482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C4482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4482
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4482#FFFFFF#000000##FFFFFF
##2C44821.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#164381
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4482;
/* rgb */ color: rgb(44, 68, 130);
/* oklch */ color: oklch(40.2% 0.108 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f77a7',
    500: '#2c4482',
    950: '#000000',
  },
}
SCSS
$custom: #2c4482;
$custom-light: #6f77a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4482",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 223.256,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.10826,
    "h": 265.8
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#2C4482
secondary
#AF985B
accent
#B24FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C4482

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

Preview Lab → · Contrast checker → · Palette generator →

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