#2C4685#2C4685

#2C4685 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.110 H 265.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4685
RGBrgb(44, 70, 133)
HSLhsl(222, 50%, 35%)
HSVhsv(222, 67%, 52%)
CMYKcmyk(66.9%, 47.4%, 0%, 47.8%)
CIE-LABlab(30.90, 11.94, -38.37)
CIE-LCHlch(30.90, 40.18, 287.28°)
OKLaboklab(40.84% -0.0095 -0.1097)
OKLCHoklch(40.84% 0.11 265)
XYZxyz(7.4610, 6.6086, 23.0681)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4685 #856B2C
analogous
#2C7385 #2C4685 #3F2C85
triadic
#2C4685 #852C46 #46852C
tetradic
#2C4685 #852C73 #856B2C #2C853F
square
#2C4685 #852C73 #856B2C #2C853F
split-complementary
#2C4685 #853F2C #73852C
monochromatic
#0E1629 #1D2E57 #2C4685 #3B5EB3 #6180CB

Accessibility & contrast

On white

9.04
#2C4685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C4685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4685
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4685#FFFFFF#000000##FFFFFF
##2C46851.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D87
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4685;
/* rgb */ color: rgb(44, 70, 133);
/* oklch */ color: oklch(40.8% 0.110 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f79a9',
    500: '#2c4685',
    950: '#000000',
  },
}
SCSS
$custom: #2c4685;
$custom-light: #6f79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4685",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 222.472,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.11011,
    "h": 265
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#2C4685
secondary
#B1985C
accent
#B14EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4685

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

Preview Lab → · Contrast checker → · Palette generator →

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