#2C4592#2C4592

#2C4592 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.131 H 267.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2C4592
RGBrgb(44, 69, 146)
HSLhsl(225, 54%, 37%)
HSVhsv(225, 70%, 57%)
CMYKcmyk(69.9%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.50, 17.56, -45.40)
CIE-LCHlch(31.50, 48.67, 291.15°)
OKLaboklab(41.59% -0.0068 -0.1304)
OKLCHoklch(41.59% 0.131 267)
XYZxyz(8.3533, 6.8662, 28.0736)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4592 #92792C
analogous
#2C7892 #2C4592 #462C92
triadic
#2C4592 #922C45 #45922C
tetradic
#2C4592 #922C78 #92792C #2C9246
square
#2C4592 #922C78 #92792C #2C9246
split-complementary
#2C4592 #92462C #78922C
monochromatic
#101934 #1E2F63 #2C4592 #3A5BC1 #6781D1

Accessibility & contrast

On white

8.85
#2C4592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C4592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4592
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4592#FFFFFF#000000##FFFFFF
##2C45921.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4592;
/* rgb */ color: rgb(44, 69, 146);
/* oklch */ color: oklch(41.6% 0.131 267.0);
Tailwind
colors: {
  custom: {
    50: '#7278b2',
    500: '#2c4592',
    950: '#000000',
  },
}
SCSS
$custom: #2c4592;
$custom-light: #7278b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4592",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 225.294,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.13057,
    "h": 267
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#2C4592
secondary
#B8A362
accent
#B94BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4592

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

Preview Lab → · Contrast checker → · Palette generator →

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