#2C4099#2C4099

#2C4099 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.147 H 269.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2C4099
RGBrgb(44, 64, 153)
HSLhsl(229, 55%, 39%)
HSVhsv(229, 71%, 60%)
CMYKcmyk(71.2%, 58.2%, 0%, 40%)
CIE-LABlab(30.64, 23.59, -51.06)
CIE-LCHlch(30.64, 56.24, 294.80°)
OKLaboklab(41.11% -0.0019 -0.1471)
OKLCHoklch(41.11% 0.147 269.3)
XYZxyz(8.6199, 6.5013, 30.9314)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4099 #99852C
analogous
#2C7699 #2C4099 #4E2C99
triadic
#2C4099 #992C40 #40992C
tetradic
#2C4099 #992C76 #99852C #2C994E
square
#2C4099 #992C76 #99852C #2C994E
split-complementary
#2C4099 #994E2C #76992C
monochromatic
#11183A #1E2C69 #2C4099 #3B55C7 #6B7ED4

Accessibility & contrast

On white

9.13
#2C4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4099
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4099#FFFFFF#000000##FFFFFF
##2C40991.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4099;
/* rgb */ color: rgb(44, 64, 153);
/* oklch */ color: oklch(41.1% 0.147 269.3);
Tailwind
colors: {
  custom: {
    50: '#7474b8',
    500: '#2c4099',
    950: '#000000',
  },
}
SCSS
$custom: #2c4099;
$custom-light: #7474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4099",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 228.991,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.14712,
    "h": 269.3
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#2C4099
secondary
#BBAC66
accent
#C349DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4099

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

Preview Lab → · Contrast checker → · Palette generator →

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