#2C4875#2C4875

#2C4875 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.2% C 0.084 H 259.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2C4875
RGBrgb(44, 72, 117)
HSLhsl(217, 45%, 32%)
HSVhsv(217, 62%, 46%)
CMYKcmyk(62.4%, 38.5%, 0%, 54.1%)
CIE-LABlab(30.53, 4.60, -28.98)
CIE-LCHlch(30.53, 29.34, 279.01°)
OKLaboklab(40.24% -0.0152 -0.0821)
OKLCHoklch(40.24% 0.084 259.5)
XYZxyz(6.5658, 6.4540, 17.7259)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4875 #75592C
analogous
#2C6D75 #2C4875 #352C75
triadic
#2C4875 #752C48 #48752C
tetradic
#2C4875 #752C6D #75592C #2C7535
square
#2C4875 #752C6D #75592C #2C7535
split-complementary
#2C4875 #75352C #6D752C
monochromatic
#0B111C #1B2D49 #2C4875 #3D63A1 #5A82C1

Accessibility & contrast

On white

9.17
#2C4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4875
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4875#FFFFFF#000000##FFFFFF
##2C48751.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C77
Deuteranopia (green-blind)
#2B4574
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4875;
/* rgb */ color: rgb(44, 72, 117);
/* oklch */ color: oklch(40.2% 0.084 259.5);
Tailwind
colors: {
  custom: {
    50: '#6c7a9d',
    500: '#2c4875',
    950: '#000000',
  },
}
SCSS
$custom: #2c4875;
$custom-light: #6c7a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4875",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 216.986,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40242,
    "c": 0.08354,
    "h": 259.5
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#2C4875
secondary
#A78856
accent
#A353D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4875

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

Preview Lab → · Contrast checker → · Palette generator →

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