#2C5090#2C5090

#2C5090 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.114 H 261.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2C5090
RGBrgb(44, 80, 144)
HSLhsl(218, 53%, 37%)
HSVhsv(218, 69%, 56%)
CMYKcmyk(69.4%, 44.4%, 0%, 43.5%)
CIE-LABlab(34.57, 9.41, -39.24)
CIE-LCHlch(34.57, 40.36, 283.48°)
OKLaboklab(43.89% -0.0178 -0.1121)
OKLCHoklch(43.89% 0.114 261)
XYZxyz(8.9396, 8.2855, 27.5083)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5090 #906C2C
analogous
#2C8290 #2C5090 #3A2C90
triadic
#2C5090 #902C50 #50902C
tetradic
#2C5090 #902C82 #906C2C #2C903A
square
#2C5090 #902C82 #906C2C #2C903A
split-complementary
#2C5090 #903A2C #82902C
monochromatic
#0F1C32 #1E3661 #2C5090 #3A6ABF #668CD0

Accessibility & contrast

On white

7.90
#2C5090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C5090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5090
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5090#FFFFFF#000000##FFFFFF
##2C50901.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#204D8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5090;
/* rgb */ color: rgb(44, 80, 144);
/* oklch */ color: oklch(43.9% 0.114 261.0);
Tailwind
colors: {
  custom: {
    50: '#7180b1',
    500: '#2c5090',
    950: '#000000',
  },
}
SCSS
$custom: #2c5090;
$custom-light: #7180b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5090",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 144
  },
  "hsl": {
    "h": 218.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.11352,
    "h": 261
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#2C5090
secondary
#B79861
accent
#A84BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2C5090

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

Preview Lab → · Contrast checker → · Palette generator →

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