#2C4584#2C4584

#2C4584 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.110 H 265.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2C4584
RGBrgb(44, 69, 132)
HSLhsl(223, 50%, 35%)
HSVhsv(223, 67%, 52%)
CMYKcmyk(66.7%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.54, 12.24, -38.33)
CIE-LCHlch(30.54, 40.23, 287.71°)
OKLaboklab(40.54% -0.0086 -0.1096)
OKLCHoklch(40.54% 0.11 265.5)
XYZxyz(7.3302, 6.4570, 22.6853)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4584 #846B2C
analogous
#2C7184 #2C4584 #3F2C84
triadic
#2C4584 #842C45 #45842C
tetradic
#2C4584 #842C71 #846B2C #2C843F
square
#2C4584 #842C71 #846B2C #2C843F
split-complementary
#2C4584 #843F2C #71842C
monochromatic
#0D1528 #1D2D56 #2C4584 #3B5DB2 #607ECA

Accessibility & contrast

On white

9.16
#2C4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4584
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4584#FFFFFF#000000##FFFFFF
##2C45841.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4584;
/* rgb */ color: rgb(44, 69, 132);
/* oklch */ color: oklch(40.5% 0.110 265.5);
Tailwind
colors: {
  custom: {
    50: '#6f78a8',
    500: '#2c4584',
    950: '#000000',
  },
}
SCSS
$custom: #2c4584;
$custom-light: #6f78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4584",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 222.955,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.10994,
    "h": 265.5
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#2C4584
secondary
#B0985C
accent
#B24EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4584

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

Preview Lab → · Contrast checker → · Palette generator →

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