#2C4892#2C4892

#2C4892 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.127 H 265.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2C4892
RGBrgb(44, 72, 146)
HSLhsl(224, 54%, 37%)
HSVhsv(224, 70%, 57%)
CMYKcmyk(69.9%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.36, 15.53, -44.01)
CIE-LCHlch(32.36, 46.67, 289.44°)
OKLaboklab(42.24% -0.0096 -0.1263)
OKLCHoklch(42.24% 0.127 265.7)
XYZxyz(8.5426, 7.2447, 28.1367)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4892 #92762C
analogous
#2C7B92 #2C4892 #432C92
triadic
#2C4892 #922C48 #48922C
tetradic
#2C4892 #922C7B #92762C #2C9243
square
#2C4892 #922C7B #92762C #2C9243
split-complementary
#2C4892 #92432C #7B922C
monochromatic
#101A34 #1E3163 #2C4892 #3A5FC1 #6784D1

Accessibility & contrast

On white

8.57
#2C4892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C4892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4892
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4892#FFFFFF#000000##FFFFFF
##2C48921.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#004890
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4892;
/* rgb */ color: rgb(44, 72, 146);
/* oklch */ color: oklch(42.2% 0.127 265.7);
Tailwind
colors: {
  custom: {
    50: '#727ab2',
    500: '#2c4892',
    950: '#000000',
  },
}
SCSS
$custom: #2c4892;
$custom-light: #727ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4892",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 223.529,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.12663,
    "h": 265.7
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#2C4892
secondary
#B8A062
accent
#B54BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4892

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

Preview Lab → · Contrast checker → · Palette generator →

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