#2C4686#2C4686

#2C4686 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.112 H 265.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2C4686
RGBrgb(44, 70, 134)
HSLhsl(223, 51%, 35%)
HSVhsv(223, 67%, 53%)
CMYKcmyk(67.2%, 47.8%, 0%, 47.5%)
CIE-LABlab(30.96, 12.32, -38.88)
CIE-LCHlch(30.96, 40.79, 287.58°)
OKLaboklab(40.91% -0.0093 -0.1112)
OKLCHoklch(40.91% 0.112 265.2)
XYZxyz(7.5304, 6.6363, 23.4337)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4686 #866C2C
analogous
#2C7386 #2C4686 #3F2C86
triadic
#2C4686 #862C46 #46862C
tetradic
#2C4686 #862C73 #866C2C #2C863F
square
#2C4686 #862C73 #866C2C #2C863F
split-complementary
#2C4686 #863F2C #73862C
monochromatic
#0E162A #1D2E58 #2C4686 #3B5EB4 #6180CB

Accessibility & contrast

On white

9.02
#2C4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4686
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4686#FFFFFF#000000##FFFFFF
##2C46861.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#154585
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4686;
/* rgb */ color: rgb(44, 70, 134);
/* oklch */ color: oklch(40.9% 0.112 265.2);
Tailwind
colors: {
  custom: {
    50: '#6f79aa',
    500: '#2c4686',
    950: '#000000',
  },
}
SCSS
$custom: #2c4686;
$custom-light: #6f79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4686",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 222.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.1116,
    "h": 265.2
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#2C4686
secondary
#B1995C
accent
#B24EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4686

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

Preview Lab → · Contrast checker → · Palette generator →

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