#2C4994#2C4994

#2C4994 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.128 H 265.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2C4994
RGBrgb(44, 73, 148)
HSLhsl(223, 54%, 38%)
HSVhsv(223, 70%, 58%)
CMYKcmyk(70.3%, 50.7%, 0%, 42%)
CIE-LABlab(32.78, 15.62, -44.55)
CIE-LCHlch(32.78, 47.21, 289.32°)
OKLaboklab(42.61% -0.0103 -0.1278)
OKLCHoklch(42.61% 0.128 265.4)
XYZxyz(8.7647, 7.4378, 28.9850)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4994 #94772C
analogous
#2C7D94 #2C4994 #432C94
triadic
#2C4994 #942C49 #49942C
tetradic
#2C4994 #942C7D #94772C #2C9443
square
#2C4994 #942C7D #94772C #2C9443
split-complementary
#2C4994 #94432C #7D942C
monochromatic
#101A36 #1E3265 #2C4994 #3A60C3 #6886D2

Accessibility & contrast

On white

8.44
#2C4994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C4994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4994
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4994#FFFFFF#000000##FFFFFF
##2C49941.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5297
Deuteranopia (green-blind)
#004992
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4994;
/* rgb */ color: rgb(44, 73, 148);
/* oklch */ color: oklch(42.6% 0.128 265.4);
Tailwind
colors: {
  custom: {
    50: '#727bb4',
    500: '#2c4994',
    950: '#000000',
  },
}
SCSS
$custom: #2c4994;
$custom-light: #727bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4994",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 223.269,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.12824,
    "h": 265.4
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#2C4994
secondary
#B9A163
accent
#B44ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4994

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

Preview Lab → · Contrast checker → · Palette generator →

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