#2C4496#2C4496

#2C4496 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.138 H 267.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2C4496
RGBrgb(44, 68, 150)
HSLhsl(226, 55%, 38%)
HSVhsv(226, 71%, 59%)
CMYKcmyk(70.7%, 54.7%, 0%, 41.2%)
CIE-LABlab(31.51, 19.76, -47.82)
CIE-LCHlch(31.51, 51.74, 292.45°)
OKLaboklab(41.69% -0.0055 -0.1375)
OKLCHoklch(41.69% 0.138 267.7)
XYZxyz(8.6089, 6.8709, 29.7208)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4496 #967E2C
analogous
#2C7996 #2C4496 #492C96
triadic
#2C4496 #962C44 #44962C
tetradic
#2C4496 #962C79 #967E2C #2C9649
square
#2C4496 #962C79 #967E2C #2C9649
split-complementary
#2C4496 #96492C #79962C
monochromatic
#101937 #1E2F67 #2C4496 #3A5AC5 #6981D3

Accessibility & contrast

On white

8.84
#2C4496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4496
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4496#FFFFFF#000000##FFFFFF
##2C44961.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4496;
/* rgb */ color: rgb(44, 68, 150);
/* oklch */ color: oklch(41.7% 0.138 267.7);
Tailwind
colors: {
  custom: {
    50: '#7377b5',
    500: '#2c4496',
    950: '#000000',
  },
}
SCSS
$custom: #2c4496;
$custom-light: #7377b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4496",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 226.415,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.13765,
    "h": 267.7
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#2C4496
secondary
#BAA664
accent
#BC4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4496

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

Preview Lab → · Contrast checker → · Palette generator →

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