#2C4B99#2C4B99

#2C4B99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.133 H 265.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2C4B99
RGBrgb(44, 75, 153)
HSLhsl(223, 55%, 39%)
HSVhsv(223, 71%, 60%)
CMYKcmyk(71.2%, 51%, 0%, 40%)
CIE-LABlab(33.70, 16.18, -46.10)
CIE-LCHlch(33.70, 48.86, 289.34°)
OKLaboklab(43.42% -0.0115 -0.1324)
OKLCHoklch(43.42% 0.133 265)
XYZxyz(9.3025, 7.8666, 31.1590)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B99 #997A2C
analogous
#2C8199 #2C4B99 #432C99
triadic
#2C4B99 #992C4B #4B992C
tetradic
#2C4B99 #992C81 #997A2C #2C9943
square
#2C4B99 #992C81 #997A2C #2C9943
split-complementary
#2C4B99 #99432C #81992C
monochromatic
#111C3A #1E3469 #2C4B99 #3B63C7 #6B89D4

Accessibility & contrast

On white

8.16
#2C4B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2C4B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B99
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B99#FFFFFF#000000##FFFFFF
##2C4B991.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4b99;
/* rgb */ color: rgb(44, 75, 153);
/* oklch */ color: oklch(43.4% 0.133 265.0);
Tailwind
colors: {
  custom: {
    50: '#737cb8',
    500: '#2c4b99',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b99;
$custom-light: #737cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b99",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 222.936,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.13286,
    "h": 265
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#2C4B99
secondary
#BBA366
accent
#B449DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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