#2C4B85#2C4B85

#2C4B85 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.104 H 261.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2C4B85
RGBrgb(44, 75, 133)
HSLhsl(219, 50%, 35%)
HSVhsv(219, 67%, 52%)
CMYKcmyk(66.9%, 43.6%, 0%, 47.8%)
CIE-LABlab(32.39, 8.57, -35.98)
CIE-LCHlch(32.39, 36.99, 283.40°)
OKLaboklab(41.99% -0.0148 -0.1026)
OKLCHoklch(41.99% 0.104 261.8)
XYZxyz(7.7869, 7.2603, 23.1768)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B85 #85662C
analogous
#2C7885 #2C4B85 #3A2C85
triadic
#2C4B85 #852C4B #4B852C
tetradic
#2C4B85 #852C78 #85662C #2C853A
square
#2C4B85 #852C78 #85662C #2C853A
split-complementary
#2C4B85 #853A2C #78852C
monochromatic
#0E1729 #1D3157 #2C4B85 #3B65B3 #6186CB

Accessibility & contrast

On white

8.56
#2C4B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C4B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B85
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B85#FFFFFF#000000##FFFFFF
##2C4B851.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305187
Deuteranopia (green-blind)
#224884
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4b85;
/* rgb */ color: rgb(44, 75, 133);
/* oklch */ color: oklch(42.0% 0.104 261.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ca9',
    500: '#2c4b85',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b85;
$custom-light: #6f7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b85",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 219.101,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.10368,
    "h": 261.8
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#2C4B85
secondary
#B1935C
accent
#A94EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4B85

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

Preview Lab → · Contrast checker → · Palette generator →

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