#2C4285#2C4285

#2C4285 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.115 H 267.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2C4285
RGBrgb(44, 66, 133)
HSLhsl(225, 50%, 35%)
HSVhsv(225, 67%, 52%)
CMYKcmyk(66.9%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.72, 14.66, -40.25)
CIE-LCHlch(29.72, 42.84, 290.01°)
OKLaboklab(39.95% -0.0053 -0.1153)
OKLCHoklch(39.95% 0.115 267.3)
XYZxyz(7.2191, 6.1247, 22.9875)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4285 #856F2C
analogous
#2C6E85 #2C4285 #432C85
triadic
#2C4285 #852C42 #42852C
tetradic
#2C4285 #852C6E #856F2C #2C8543
square
#2C4285 #852C6E #856F2C #2C8543
split-complementary
#2C4285 #85432C #6E852C
monochromatic
#0E1429 #1D2B57 #2C4285 #3B59B3 #617BCB

Accessibility & contrast

On white

9.44
#2C4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4285
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4285#FFFFFF#000000##FFFFFF
##2C42851.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#094284
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4285;
/* rgb */ color: rgb(44, 66, 133);
/* oklch */ color: oklch(39.9% 0.115 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f76a9',
    500: '#2c4285',
    950: '#000000',
  },
}
SCSS
$custom: #2c4285;
$custom-light: #6f76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4285",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 225.169,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.11542,
    "h": 267.3
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#2C4285
secondary
#B19C5C
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4285

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

Preview Lab → · Contrast checker → · Palette generator →

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