#2C4585#2C4585

#2C4585 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.111 H 265.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2C4585
RGBrgb(44, 69, 133)
HSLhsl(223, 50%, 35%)
HSVhsv(223, 67%, 52%)
CMYKcmyk(66.9%, 48.1%, 0%, 47.8%)
CIE-LABlab(30.60, 12.62, -38.84)
CIE-LCHlch(30.60, 40.84, 287.99°)
OKLaboklab(40.62% -0.0085 -0.1111)
OKLCHoklch(40.62% 0.111 265.6)
XYZxyz(7.3990, 6.4845, 23.0475)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4585 #856C2C
analogous
#2C7285 #2C4585 #402C85
triadic
#2C4585 #852C45 #45852C
tetradic
#2C4585 #852C72 #856C2C #2C8540
square
#2C4585 #852C72 #856C2C #2C8540
split-complementary
#2C4585 #85402C #72852C
monochromatic
#0E1529 #1D2D57 #2C4585 #3B5DB3 #617ECB

Accessibility & contrast

On white

9.14
#2C4585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4585
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4585#FFFFFF#000000##FFFFFF
##2C45851.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#144484
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4585;
/* rgb */ color: rgb(44, 69, 133);
/* oklch */ color: oklch(40.6% 0.111 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f78a9',
    500: '#2c4585',
    950: '#000000',
  },
}
SCSS
$custom: #2c4585;
$custom-light: #6f78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4585",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 223.146,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40616,
    "c": 0.11143,
    "h": 265.6
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#2C4585
secondary
#B1995C
accent
#B34EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4585

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

Preview Lab → · Contrast checker → · Palette generator →

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