#2C4F90#2C4F90

#2C4F90 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.7% C 0.115 H 261.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2C4F90
RGBrgb(44, 79, 144)
HSLhsl(219, 53%, 37%)
HSVhsv(219, 69%, 56%)
CMYKcmyk(69.4%, 45.1%, 0%, 43.5%)
CIE-LABlab(34.27, 10.07, -39.72)
CIE-LCHlch(34.27, 40.98, 284.23°)
OKLaboklab(43.66% -0.0168 -0.1135)
OKLCHoklch(43.66% 0.115 261.6)
XYZxyz(8.8669, 8.1402, 27.4841)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F90 #906D2C
analogous
#2C8190 #2C4F90 #3B2C90
triadic
#2C4F90 #902C4F #4F902C
tetradic
#2C4F90 #902C81 #906D2C #2C903B
square
#2C4F90 #902C81 #906D2C #2C903B
split-complementary
#2C4F90 #903B2C #81902C
monochromatic
#0F1C32 #1E3561 #2C4F90 #3A69BF #668BD0

Accessibility & contrast

On white

7.99
#2C4F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C4F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F90
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F90#FFFFFF#000000##FFFFFF
##2C4F901.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305692
Deuteranopia (green-blind)
#1E4C8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4f90;
/* rgb */ color: rgb(44, 79, 144);
/* oklch */ color: oklch(43.7% 0.115 261.6);
Tailwind
colors: {
  custom: {
    50: '#717fb1',
    500: '#2c4f90',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f90;
$custom-light: #717fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f90",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 219,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.11476,
    "h": 261.6
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#2C4F90
secondary
#B79961
accent
#AA4BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2C4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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