#2C4A86#2C4A86

#2C4A86 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.106 H 262.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2C4A86
RGBrgb(44, 74, 134)
HSLhsl(220, 51%, 35%)
HSVhsv(220, 67%, 53%)
CMYKcmyk(67.2%, 44.8%, 0%, 47.5%)
CIE-LABlab(32.15, 9.62, -36.98)
CIE-LCHlch(32.15, 38.21, 284.58°)
OKLaboklab(41.83% -0.0136 -0.1055)
OKLCHoklch(41.83% 0.106 262.7)
XYZxyz(7.7891, 7.1535, 23.5199)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A86 #86682C
analogous
#2C7786 #2C4A86 #3B2C86
triadic
#2C4A86 #862C4A #4A862C
tetradic
#2C4A86 #862C77 #86682C #2C863B
square
#2C4A86 #862C77 #86682C #2C863B
split-complementary
#2C4A86 #863B2C #77862C
monochromatic
#0E172A #1D3158 #2C4A86 #3B63B4 #6185CB

Accessibility & contrast

On white

8.64
#2C4A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C4A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A86
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A86#FFFFFF#000000##FFFFFF
##2C4A861.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4a86;
/* rgb */ color: rgb(44, 74, 134);
/* oklch */ color: oklch(41.8% 0.106 262.7);
Tailwind
colors: {
  custom: {
    50: '#6f7ca9',
    500: '#2c4a86',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a86;
$custom-light: #6f7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a86",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 220,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.10642,
    "h": 262.7
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#2C4A86
secondary
#B1955C
accent
#AB4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4A86

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

Preview Lab → · Contrast checker → · Palette generator →

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