#2C4E98#2C4E98

#2C4E98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.128 H 263.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2C4E98
RGBrgb(44, 78, 152)
HSLhsl(221, 55%, 38%)
HSVhsv(221, 71%, 60%)
CMYKcmyk(71.1%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.50, 13.79, -44.21)
CIE-LCHlch(34.50, 46.32, 287.32°)
OKLaboklab(44% -0.0144 -0.1268)
OKLCHoklch(44% 0.128 263.5)
XYZxyz(9.4286, 8.2503, 30.7952)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E98 #98762C
analogous
#2C8498 #2C4E98 #402C98
triadic
#2C4E98 #982C4E #4E982C
tetradic
#2C4E98 #982C84 #98762C #2C9840
square
#2C4E98 #982C84 #98762C #2C9840
split-complementary
#2C4E98 #98402C #84982C
monochromatic
#111D39 #1E3669 #2C4E98 #3B67C6 #6A8CD4

Accessibility & contrast

On white

7.92
#2C4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E98
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E98#FFFFFF#000000##FFFFFF
##2C4E981.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#0B4C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4e98;
/* rgb */ color: rgb(44, 78, 152);
/* oklch */ color: oklch(44.0% 0.128 263.5);
Tailwind
colors: {
  custom: {
    50: '#737fb7',
    500: '#2c4e98',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e98;
$custom-light: #737fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e98",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 221.111,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44004,
    "c": 0.12758,
    "h": 263.5
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#2C4E98
secondary
#BBA065
accent
#B049DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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