#2C4A88#2C4A88

#2C4A88 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.109 H 263.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2C4A88
RGBrgb(44, 74, 136)
HSLhsl(220, 51%, 35%)
HSVhsv(220, 68%, 53%)
CMYKcmyk(67.6%, 45.6%, 0%, 46.7%)
CIE-LABlab(32.28, 10.38, -38.01)
CIE-LCHlch(32.28, 39.40, 285.27°)
OKLaboklab(41.97% -0.0132 -0.1086)
OKLCHoklch(41.97% 0.109 263.1)
XYZxyz(7.9299, 7.2098, 24.2615)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A88 #886A2C
analogous
#2C7888 #2C4A88 #3C2C88
triadic
#2C4A88 #882C4A #4A882C
tetradic
#2C4A88 #882C78 #886A2C #2C883C
square
#2C4A88 #882C78 #886A2C #2C883C
split-complementary
#2C4A88 #883C2C #78882C
monochromatic
#0E182C #1D315A #2C4A88 #3B63B6 #6285CC

Accessibility & contrast

On white

8.60
#2C4A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C4A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A88
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A88#FFFFFF#000000##FFFFFF
##2C4A881.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#1D4887
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4a88;
/* rgb */ color: rgb(44, 74, 136);
/* oklch */ color: oklch(42.0% 0.109 263.1);
Tailwind
colors: {
  custom: {
    50: '#707cab',
    500: '#2c4a88',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a88;
$custom-light: #707cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a88",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 136
  },
  "hsl": {
    "h": 220.435,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.10938,
    "h": 263.1
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#2C4A88
secondary
#B3975D
accent
#AC4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4A88

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

Preview Lab → · Contrast checker → · Palette generator →

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