#2C4282#2C4282

#2C4282 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.111 H 267.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2C4282
RGBrgb(44, 66, 130)
HSLhsl(225, 49%, 34%)
HSVhsv(225, 66%, 51%)
CMYKcmyk(66.2%, 49.2%, 0%, 49%)
CIE-LABlab(29.52, 13.52, -38.72)
CIE-LCHlch(29.52, 41.01, 289.25°)
OKLaboklab(39.73% -0.0058 -0.1108)
OKLCHoklch(39.73% 0.111 267)
XYZxyz(7.0148, 6.0430, 21.9115)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4282 #826C2C
analogous
#2C6D82 #2C4282 #412C82
triadic
#2C4282 #822C42 #42822C
tetradic
#2C4282 #822C6D #826C2C #2C8241
square
#2C4282 #822C6D #826C2C #2C8241
split-complementary
#2C4282 #82412C #6D822C
monochromatic
#0D1427 #1D2B54 #2C4282 #3B59B0 #5F7AC9

Accessibility & contrast

On white

9.51
#2C4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4282
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4282#FFFFFF#000000##FFFFFF
##2C42821.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A84
Deuteranopia (green-blind)
#104281
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4282;
/* rgb */ color: rgb(44, 66, 130);
/* oklch */ color: oklch(39.7% 0.111 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f76a7',
    500: '#2c4282',
    950: '#000000',
  },
}
SCSS
$custom: #2c4282;
$custom-light: #6f76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4282",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 224.651,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.11094,
    "h": 267
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#2C4282
secondary
#AF9A5B
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C4282

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

Preview Lab → · Contrast checker → · Palette generator →

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