#2C4B9D#2C4B9D

#2C4B9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.139 H 265.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2C4B9D
RGBrgb(44, 75, 157)
HSLhsl(224, 56%, 39%)
HSVhsv(224, 72%, 62%)
CMYKcmyk(72%, 52.2%, 0%, 38.4%)
CIE-LABlab(33.98, 17.71, -48.06)
CIE-LCHlch(33.98, 51.22, 290.23°)
OKLaboklab(43.72% -0.0111 -0.1381)
OKLCHoklch(43.72% 0.139 265.4)
XYZxyz(9.6385, 8.0010, 32.9281)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B9D #9D7E2C
analogous
#2C849D #2C4B9D #462C9D
triadic
#2C4B9D #9D2C4B #4B9D2C
tetradic
#2C4B9D #9D2C84 #9D7E2C #2C9D46
square
#2C4B9D #9D2C84 #9D7E2C #2C9D46
split-complementary
#2C4B9D #9D462C #849D2C
monochromatic
#111D3D #1F346D #2C4B9D #3D64C9 #6D8AD6

Accessibility & contrast

On white

8.08
#2C4B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C4B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B9D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B9D#FFFFFF#000000##FFFFFF
##2C4B9D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4b9d;
/* rgb */ color: rgb(44, 75, 157);
/* oklch */ color: oklch(43.7% 0.139 265.4);
Tailwind
colors: {
  custom: {
    50: '#747cba',
    500: '#2c4b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b9d;
$custom-light: #747cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b9d",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 223.54,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.13858,
    "h": 265.4
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#2C4B9D
secondary
#BDA668
accent
#B648E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C4B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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