#2C4B8B#2C4B8B

#2C4B8B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.113 H 263.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2C4B8B
RGBrgb(44, 75, 139)
HSLhsl(220, 52%, 36%)
HSVhsv(220, 68%, 55%)
CMYKcmyk(68.3%, 46%, 0%, 45.5%)
CIE-LABlab(32.77, 10.84, -39.07)
CIE-LCHlch(32.77, 40.55, 285.51°)
OKLaboklab(42.4% -0.0137 -0.1117)
OKLCHoklch(42.4% 0.113 263)
XYZxyz(8.2133, 7.4309, 25.4226)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B8B #8B6C2C
analogous
#2C7A8B #2C4B8B #3C2C8B
triadic
#2C4B8B #8B2C4B #4B8B2C
tetradic
#2C4B8B #8B2C7A #8B6C2C #2C8B3C
square
#2C4B8B #8B2C7A #8B6C2C #2C8B3C
split-complementary
#2C4B8B #8B3C2C #7A8B2C
monochromatic
#0F192E #1D325D #2C4B8B #3B64B9 #6486CE

Accessibility & contrast

On white

8.45
#2C4B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C4B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B8B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B8B#FFFFFF#000000##FFFFFF
##2C4B8B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4b8b;
/* rgb */ color: rgb(44, 75, 139);
/* oklch */ color: oklch(42.4% 0.113 263.0);
Tailwind
colors: {
  custom: {
    50: '#707cad',
    500: '#2c4b8b',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b8b;
$custom-light: #707cad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b8b",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 220.421,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42403,
    "c": 0.11251,
    "h": 263
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#2C4B8B
secondary
#B4985F
accent
#AD4CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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