#2C4481#2C4481

#2C4481 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.107 H 265.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2C4481
RGBrgb(44, 68, 129)
HSLhsl(223, 49%, 34%)
HSVhsv(223, 66%, 51%)
CMYKcmyk(65.9%, 47.3%, 0%, 49.4%)
CIE-LABlab(30.04, 11.78, -37.26)
CIE-LCHlch(30.04, 39.07, 287.55°)
OKLaboklab(40.1% -0.0081 -0.1065)
OKLCHoklch(40.1% 0.107 265.7)
XYZxyz(7.0669, 6.2541, 21.5994)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4481 #81692C
analogous
#2C6F81 #2C4481 #3F2C81
triadic
#2C4481 #812C44 #44812C
tetradic
#2C4481 #812C6F #81692C #2C813F
square
#2C4481 #812C6F #81692C #2C813F
split-complementary
#2C4481 #813F2C #6F812C
monochromatic
#0D1426 #1C2C53 #2C4481 #3C5CAF #5F7DC8

Accessibility & contrast

On white

9.33
#2C4481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C4481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4481
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4481#FFFFFF#000000##FFFFFF
##2C44811.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4481;
/* rgb */ color: rgb(44, 68, 129);
/* oklch */ color: oklch(40.1% 0.107 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e77a6',
    500: '#2c4481',
    950: '#000000',
  },
}
SCSS
$custom: #2c4481;
$custom-light: #6e77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4481",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 129
  },
  "hsl": {
    "h": 223.059,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.10677,
    "h": 265.7
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4481

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

Preview Lab → · Contrast checker → · Palette generator →

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