#2C4B86#2C4B86

#2C4B86 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.105 H 262.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2C4B86
RGBrgb(44, 75, 134)
HSLhsl(219, 51%, 35%)
HSVhsv(219, 67%, 53%)
CMYKcmyk(67.2%, 44%, 0%, 47.5%)
CIE-LABlab(32.45, 8.95, -36.50)
CIE-LCHlch(32.45, 37.58, 283.78°)
OKLaboklab(42.06% -0.0146 -0.1041)
OKLCHoklch(42.06% 0.105 262)
XYZxyz(7.8563, 7.2881, 23.5424)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B86 #86672C
analogous
#2C7886 #2C4B86 #3A2C86
triadic
#2C4B86 #862C4B #4B862C
tetradic
#2C4B86 #862C78 #86672C #2C863A
square
#2C4B86 #862C78 #86672C #2C863A
split-complementary
#2C4B86 #863A2C #78862C
monochromatic
#0E172A #1D3158 #2C4B86 #3B65B4 #6186CB

Accessibility & contrast

On white

8.54
#2C4B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C4B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B86
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B86#FFFFFF#000000##FFFFFF
##2C4B861.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#214885
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4b86;
/* rgb */ color: rgb(44, 75, 134);
/* oklch */ color: oklch(42.1% 0.105 262.0);
Tailwind
colors: {
  custom: {
    50: '#6f7ca9',
    500: '#2c4b86',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b86;
$custom-light: #6f7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b86",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 134
  },
  "hsl": {
    "h": 219.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.10515,
    "h": 262
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#2C4B86
secondary
#B1945C
accent
#AA4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4B86

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

Preview Lab → · Contrast checker → · Palette generator →

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