#2C4490#2C4490

#2C4490 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.129 H 267.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2C4490
RGBrgb(44, 68, 144)
HSLhsl(226, 53%, 37%)
HSVhsv(226, 69%, 56%)
CMYKcmyk(69.4%, 52.8%, 0%, 43.5%)
CIE-LABlab(31.07, 17.48, -44.86)
CIE-LCHlch(31.07, 48.15, 291.28°)
OKLaboklab(41.22% -0.006 -0.1288)
OKLCHoklch(41.22% 0.129 267.3)
XYZxyz(8.1381, 6.6825, 27.2411)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4490 #90782C
analogous
#2C7690 #2C4490 #462C90
triadic
#2C4490 #902C44 #44902C
tetradic
#2C4490 #902C76 #90782C #2C9046
square
#2C4490 #902C76 #90782C #2C9046
split-complementary
#2C4490 #90462C #76902C
monochromatic
#0F1832 #1E2E61 #2C4490 #3A5ABF #6680D0

Accessibility & contrast

On white

8.99
#2C4490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C4490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4490
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4490#FFFFFF#000000##FFFFFF
##2C44901.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4490;
/* rgb */ color: rgb(44, 68, 144);
/* oklch */ color: oklch(41.2% 0.129 267.3);
Tailwind
colors: {
  custom: {
    50: '#7277b1',
    500: '#2c4490',
    950: '#000000',
  },
}
SCSS
$custom: #2c4490;
$custom-light: #7277b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4490",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 225.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.12898,
    "h": 267.3
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#2C4490
secondary
#B7A261
accent
#BA4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4490

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

Preview Lab → · Contrast checker → · Palette generator →

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