#2C4699#2C4699

#2C4699 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.139 H 267.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2C4699
RGBrgb(44, 70, 153)
HSLhsl(226, 55%, 39%)
HSVhsv(226, 71%, 60%)
CMYKcmyk(71.2%, 54.2%, 0%, 40%)
CIE-LABlab(32.29, 19.55, -48.38)
CIE-LCHlch(32.29, 52.18, 292.00°)
OKLaboklab(42.35% -0.007 -0.1392)
OKLCHoklch(42.35% 0.139 267.1)
XYZxyz(8.9766, 7.2148, 31.0503)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4699 #997F2C
analogous
#2C7C99 #2C4699 #482C99
triadic
#2C4699 #992C46 #46992C
tetradic
#2C4699 #992C7C #997F2C #2C9948
square
#2C4699 #992C7C #997F2C #2C9948
split-complementary
#2C4699 #99482C #7C992C
monochromatic
#111B3A #1E3069 #2C4699 #3B5DC7 #6B84D4

Accessibility & contrast

On white

8.60
#2C4699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C4699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4699
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4699#FFFFFF#000000##FFFFFF
##2C46991.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A519C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4699;
/* rgb */ color: rgb(44, 70, 153);
/* oklch */ color: oklch(42.3% 0.139 267.1);
Tailwind
colors: {
  custom: {
    50: '#7379b8',
    500: '#2c4699',
    950: '#000000',
  },
}
SCSS
$custom: #2c4699;
$custom-light: #7379b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4699",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 225.688,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.13934,
    "h": 267.1
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#2C4699
secondary
#BBA766
accent
#BB49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4699

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

Preview Lab → · Contrast checker → · Palette generator →

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