#2C4988#2C4988

#2C4988 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.111 H 263.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2C4988
RGBrgb(44, 73, 136)
HSLhsl(221, 51%, 35%)
HSVhsv(221, 68%, 53%)
CMYKcmyk(67.6%, 46.3%, 0%, 46.7%)
CIE-LABlab(31.98, 11.05, -38.48)
CIE-LCHlch(31.98, 40.04, 286.02°)
OKLaboklab(41.74% -0.0121 -0.11)
OKLCHoklch(41.74% 0.111 263.7)
XYZxyz(7.8636, 7.0774, 24.2394)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4988 #886B2C
analogous
#2C7788 #2C4988 #3D2C88
triadic
#2C4988 #882C49 #49882C
tetradic
#2C4988 #882C77 #886B2C #2C883D
square
#2C4988 #882C77 #886B2C #2C883D
split-complementary
#2C4988 #883D2C #77882C
monochromatic
#0E172C #1D305A #2C4988 #3B62B6 #6284CC

Accessibility & contrast

On white

8.69
#2C4988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C4988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4988
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4988#FFFFFF#000000##FFFFFF
##2C49881.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508A
Deuteranopia (green-blind)
#1A4787
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4988;
/* rgb */ color: rgb(44, 73, 136);
/* oklch */ color: oklch(41.7% 0.111 263.7);
Tailwind
colors: {
  custom: {
    50: '#707bab',
    500: '#2c4988',
    950: '#000000',
  },
}
SCSS
$custom: #2c4988;
$custom-light: #707bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4988",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 136
  },
  "hsl": {
    "h": 221.087,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.11066,
    "h": 263.7
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#2C4988
secondary
#B3985D
accent
#AE4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4988

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

Preview Lab → · Contrast checker → · Palette generator →

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