#2C4E94#2C4E94

#2C4E94 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.122 H 262.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2C4E94
RGBrgb(44, 78, 148)
HSLhsl(220, 54%, 38%)
HSVhsv(220, 70%, 58%)
CMYKcmyk(70.3%, 47.3%, 0%, 42%)
CIE-LABlab(34.23, 12.26, -42.21)
CIE-LCHlch(34.23, 43.96, 286.20°)
OKLaboklab(43.72% -0.0151 -0.1209)
OKLCHoklch(43.72% 0.122 262.9)
XYZxyz(9.1065, 8.1214, 29.0989)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E94 #94722C
analogous
#2C8294 #2C4E94 #3E2C94
triadic
#2C4E94 #942C4E #4E942C
tetradic
#2C4E94 #942C82 #94722C #2C943E
square
#2C4E94 #942C82 #94722C #2C943E
split-complementary
#2C4E94 #943E2C #82942C
monochromatic
#101C36 #1E3565 #2C4E94 #3A67C3 #688BD2

Accessibility & contrast

On white

8.00
#2C4E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C4E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E94
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E94#FFFFFF#000000##FFFFFF
##2C4E941.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5697
Deuteranopia (green-blind)
#154C93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4e94;
/* rgb */ color: rgb(44, 78, 148);
/* oklch */ color: oklch(43.7% 0.122 262.9);
Tailwind
colors: {
  custom: {
    50: '#727fb4',
    500: '#2c4e94',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e94;
$custom-light: #727fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e94",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 220.385,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43716,
    "c": 0.12182,
    "h": 262.9
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#2C4E94
secondary
#B99D63
accent
#AD4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E94

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

Preview Lab → · Contrast checker → · Palette generator →

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