#2C4F89#2C4F89

#2C4F89 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.105 H 260.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4F89
RGBrgb(44, 79, 137)
HSLhsl(217, 51%, 35%)
HSVhsv(217, 68%, 54%)
CMYKcmyk(67.9%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.84, 7.42, -36.13)
CIE-LCHlch(33.84, 36.88, 281.61°)
OKLaboklab(43.19% -0.0182 -0.103)
OKLCHoklch(43.19% 0.105 260)
XYZxyz(8.3484, 7.9328, 24.7533)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F89 #89662C
analogous
#2C7D89 #2C4F89 #372C89
triadic
#2C4F89 #892C4F #4F892C
tetradic
#2C4F89 #892C7D #89662C #2C8937
square
#2C4F89 #892C7D #89662C #2C8937
split-complementary
#2C4F89 #89372C #7D892C
monochromatic
#0E1A2C #1D345B #2C4F89 #3B6AB7 #638BCD

Accessibility & contrast

On white

8.12
#2C4F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C4F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F89
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F89#FFFFFF#000000##FFFFFF
##2C4F891.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#264C88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4f89;
/* rgb */ color: rgb(44, 79, 137);
/* oklch */ color: oklch(43.2% 0.105 260.0);
Tailwind
colors: {
  custom: {
    50: '#707fac',
    500: '#2c4f89',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f89;
$custom-light: #707fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f89",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 217.419,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43191,
    "c": 0.10458,
    "h": 260
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#2C4F89
secondary
#B3935E
accent
#A54DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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