#2C4185#2C4185

#2C4185 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.117 H 267.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2C4185
RGBrgb(44, 65, 133)
HSLhsl(226, 50%, 35%)
HSVhsv(226, 67%, 52%)
CMYKcmyk(66.9%, 51.1%, 0%, 47.8%)
CIE-LABlab(29.43, 15.34, -40.72)
CIE-LCHlch(29.43, 43.51, 290.64°)
OKLaboklab(39.73% -0.0043 -0.1167)
OKLCHoklch(39.73% 0.117 267.9)
XYZxyz(7.1612, 6.0089, 22.9682)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4185 #85702C
analogous
#2C6D85 #2C4185 #442C85
triadic
#2C4185 #852C41 #41852C
tetradic
#2C4185 #852C6D #85702C #2C8544
square
#2C4185 #852C6D #85702C #2C8544
split-complementary
#2C4185 #85442C #6D852C
monochromatic
#0E1429 #1D2B57 #2C4185 #3B57B3 #617ACB

Accessibility & contrast

On white

9.54
#2C4185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C4185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4185
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4185#FFFFFF#000000##FFFFFF
##2C41851.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A87
Deuteranopia (green-blind)
#044284
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4185;
/* rgb */ color: rgb(44, 65, 133);
/* oklch */ color: oklch(39.7% 0.117 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f75a9',
    500: '#2c4185',
    950: '#000000',
  },
}
SCSS
$custom: #2c4185;
$custom-light: #6f75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4185",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 225.843,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.11677,
    "h": 267.9
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#2C4185
secondary
#B19D5C
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4185

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

Preview Lab → · Contrast checker → · Palette generator →

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