#2C4D98#2C4D98

#2C4D98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.129 H 264.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2C4D98
RGBrgb(44, 77, 152)
HSLhsl(222, 55%, 38%)
HSVhsv(222, 71%, 60%)
CMYKcmyk(71.1%, 49.3%, 0%, 40.4%)
CIE-LABlab(34.21, 14.46, -44.68)
CIE-LCHlch(34.21, 46.96, 287.93°)
OKLaboklab(43.78% -0.0135 -0.1281)
OKLCHoklch(43.78% 0.129 264)
XYZxyz(9.3581, 8.1093, 30.7717)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D98 #98772C
analogous
#2C8398 #2C4D98 #412C98
triadic
#2C4D98 #982C4D #4D982C
tetradic
#2C4D98 #982C83 #98772C #2C9841
square
#2C4D98 #982C83 #98772C #2C9841
split-complementary
#2C4D98 #98412C #83982C
monochromatic
#111D39 #1E3569 #2C4D98 #3B66C6 #6A8BD4

Accessibility & contrast

On white

8.01
#2C4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4D98
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D98#FFFFFF#000000##FFFFFF
##2C4D981.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#054C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4d98;
/* rgb */ color: rgb(44, 77, 152);
/* oklch */ color: oklch(43.8% 0.129 264.0);
Tailwind
colors: {
  custom: {
    50: '#737eb7',
    500: '#2c4d98',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d98;
$custom-light: #737eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d98",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 221.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43783,
    "c": 0.12886,
    "h": 264
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#2C4D98
secondary
#BBA165
accent
#B149DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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