#2C4D89#2C4D89

#2C4D89 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.107 H 261.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2C4D89
RGBrgb(44, 77, 137)
HSLhsl(219, 51%, 35%)
HSVhsv(219, 68%, 54%)
CMYKcmyk(67.9%, 43.8%, 0%, 46.3%)
CIE-LABlab(33.24, 8.75, -37.09)
CIE-LCHlch(33.24, 38.11, 283.27°)
OKLaboklab(42.73% -0.0161 -0.1058)
OKLCHoklch(42.73% 0.107 261.3)
XYZxyz(8.2063, 7.6486, 24.7059)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D89 #89682C
analogous
#2C7B89 #2C4D89 #3A2C89
triadic
#2C4D89 #892C4D #4D892C
tetradic
#2C4D89 #892C7B #89682C #2C893A
square
#2C4D89 #892C7B #89682C #2C893A
split-complementary
#2C4D89 #893A2C #7B892C
monochromatic
#0E192C #1D335B #2C4D89 #3B67B7 #6388CD

Accessibility & contrast

On white

8.30
#2C4D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C4D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D89
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D89#FFFFFF#000000##FFFFFF
##2C4D891.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4d89;
/* rgb */ color: rgb(44, 77, 137);
/* oklch */ color: oklch(42.7% 0.107 261.3);
Tailwind
colors: {
  custom: {
    50: '#707eac',
    500: '#2c4d89',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d89;
$custom-light: #707eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d89",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 218.71,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.10705,
    "h": 261.3
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#2C4D89
secondary
#B3955E
accent
#A84DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4D89

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

Preview Lab → · Contrast checker → · Palette generator →

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