#2C4292#2C4292

#2C4292 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.135 H 268.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4292
RGBrgb(44, 66, 146)
HSLhsl(227, 54%, 37%)
HSVhsv(227, 70%, 57%)
CMYKcmyk(69.9%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.66, 19.59, -46.76)
CIE-LCHlch(30.66, 50.70, 292.73°)
OKLaboklab(40.95% -0.004 -0.1345)
OKLCHoklch(40.95% 0.135 268.3)
XYZxyz(8.1734, 6.5064, 28.0137)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4292 #927C2C
analogous
#2C7592 #2C4292 #492C92
triadic
#2C4292 #922C42 #42922C
tetradic
#2C4292 #922C75 #927C2C #2C9249
square
#2C4292 #922C75 #927C2C #2C9249
split-complementary
#2C4292 #92492C #75922C
monochromatic
#101734 #1E2D63 #2C4292 #3A57C1 #677ED1

Accessibility & contrast

On white

9.12
#2C4292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4292
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4292#FFFFFF#000000##FFFFFF
##2C42921.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084D95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4292;
/* rgb */ color: rgb(44, 66, 146);
/* oklch */ color: oklch(40.9% 0.135 268.3);
Tailwind
colors: {
  custom: {
    50: '#7276b3',
    500: '#2c4292',
    950: '#000000',
  },
}
SCSS
$custom: #2c4292;
$custom-light: #7276b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4292",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 227.059,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.13452,
    "h": 268.3
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#2C4292
secondary
#B8A562
accent
#BE4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4292

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

Preview Lab → · Contrast checker → · Palette generator →

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