#2C4499#2C4499

#2C4499 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.142 H 267.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2C4499
RGBrgb(44, 68, 153)
HSLhsl(227, 55%, 39%)
HSVhsv(227, 71%, 60%)
CMYKcmyk(71.2%, 55.6%, 0%, 40%)
CIE-LABlab(31.74, 20.90, -49.28)
CIE-LCHlch(31.74, 53.53, 292.98°)
OKLaboklab(41.93% -0.0053 -0.1418)
OKLCHoklch(41.93% 0.142 267.9)
XYZxyz(8.8536, 6.9687, 31.0093)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4499 #99812C
analogous
#2C7A99 #2C4499 #4A2C99
triadic
#2C4499 #992C44 #44992C
tetradic
#2C4499 #992C7A #99812C #2C994A
square
#2C4499 #992C7A #99812C #2C994A
split-complementary
#2C4499 #994A2C #7A992C
monochromatic
#111A3A #1E2F69 #2C4499 #3B5AC7 #6B82D4

Accessibility & contrast

On white

8.77
#2C4499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C4499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4499
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4499#FFFFFF#000000##FFFFFF
##2C44991.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4499;
/* rgb */ color: rgb(44, 68, 153);
/* oklch */ color: oklch(41.9% 0.142 267.9);
Tailwind
colors: {
  custom: {
    50: '#7477b8',
    500: '#2c4499',
    950: '#000000',
  },
}
SCSS
$custom: #2c4499;
$custom-light: #7477b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4499",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 226.789,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.14194,
    "h": 267.9
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#2C4499
secondary
#BBA866
accent
#BE49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4499

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

Preview Lab → · Contrast checker → · Palette generator →

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