#2C4385#2C4385

#2C4385 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.114 H 266.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2C4385
RGBrgb(44, 67, 133)
HSLhsl(224, 50%, 35%)
HSVhsv(224, 67%, 52%)
CMYKcmyk(66.9%, 49.6%, 0%, 47.8%)
CIE-LABlab(30.02, 13.97, -39.78)
CIE-LCHlch(30.02, 42.17, 289.35°)
OKLaboklab(40.17% -0.0064 -0.1139)
OKLCHoklch(40.17% 0.114 266.8)
XYZxyz(7.2780, 6.2426, 23.0071)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4385 #856E2C
analogous
#2C7085 #2C4385 #412C85
triadic
#2C4385 #852C43 #43852C
tetradic
#2C4385 #852C70 #856E2C #2C8541
square
#2C4385 #852C70 #856E2C #2C8541
split-complementary
#2C4385 #85412C #70852C
monochromatic
#0E1529 #1D2C57 #2C4385 #3B5AB3 #617CCB

Accessibility & contrast

On white

9.34
#2C4385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4385
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4385#FFFFFF#000000##FFFFFF
##2C43851.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#0D4384
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4385;
/* rgb */ color: rgb(44, 67, 133);
/* oklch */ color: oklch(40.2% 0.114 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f76a9',
    500: '#2c4385',
    950: '#000000',
  },
}
SCSS
$custom: #2c4385;
$custom-light: #6f76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4385",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 224.494,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.11409,
    "h": 266.8
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#2C4385
secondary
#B19B5C
accent
#B64EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4385

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

Preview Lab → · Contrast checker → · Palette generator →

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