#2C4085#2C4085

#2C4085 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.118 H 268.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2C4085
RGBrgb(44, 64, 133)
HSLhsl(227, 50%, 35%)
HSVhsv(227, 67%, 52%)
CMYKcmyk(66.9%, 51.9%, 0%, 47.8%)
CIE-LABlab(29.15, 16.02, -41.19)
CIE-LCHlch(29.15, 44.19, 291.26°)
OKLaboklab(39.51% -0.0033 -0.1181)
OKLCHoklch(39.51% 0.118 268.4)
XYZxyz(7.1043, 5.8951, 22.9492)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4085 #85712C
analogous
#2C6C85 #2C4085 #452C85
triadic
#2C4085 #852C40 #40852C
tetradic
#2C4085 #852C6C #85712C #2C8545
square
#2C4085 #852C6C #85712C #2C8545
split-complementary
#2C4085 #85452C #6C852C
monochromatic
#0E1429 #1D2A57 #2C4085 #3B56B3 #6179CB

Accessibility & contrast

On white

9.64
#2C4085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C4085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4085
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4085#FFFFFF#000000##FFFFFF
##2C40851.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194987
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4085;
/* rgb */ color: rgb(44, 64, 133);
/* oklch */ color: oklch(39.5% 0.118 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f74a9',
    500: '#2c4085',
    950: '#000000',
  },
}
SCSS
$custom: #2c4085;
$custom-light: #6f74a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4085",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 226.517,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.11812,
    "h": 268.4
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#2C4085
secondary
#B19E5C
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4085

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

Preview Lab → · Contrast checker → · Palette generator →

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