#2C4698#2C4698

#2C4698 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.138 H 267.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2C4698
RGBrgb(44, 70, 152)
HSLhsl(226, 55%, 38%)
HSVhsv(226, 71%, 60%)
CMYKcmyk(71.1%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.22, 19.17, -47.89)
CIE-LCHlch(32.22, 51.59, 291.81°)
OKLaboklab(42.27% -0.0071 -0.1377)
OKLCHoklch(42.27% 0.138 267)
XYZxyz(8.8944, 7.1819, 30.6172)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4698 #987E2C
analogous
#2C7C98 #2C4698 #482C98
triadic
#2C4698 #982C46 #46982C
tetradic
#2C4698 #982C7C #987E2C #2C9848
square
#2C4698 #982C7C #987E2C #2C9848
split-complementary
#2C4698 #98482C #7C982C
monochromatic
#111A39 #1E3069 #2C4698 #3B5CC6 #6A84D4

Accessibility & contrast

On white

8.62
#2C4698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C4698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4698
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4698#FFFFFF#000000##FFFFFF
##2C46981.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4698;
/* rgb */ color: rgb(44, 70, 152);
/* oklch */ color: oklch(42.3% 0.138 267.0);
Tailwind
colors: {
  custom: {
    50: '#7379b7',
    500: '#2c4698',
    950: '#000000',
  },
}
SCSS
$custom: #2c4698;
$custom-light: #7379b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4698",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 225.556,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.1379,
    "h": 267
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#2C4698
secondary
#BBA665
accent
#BB49DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4698

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

Preview Lab → · Contrast checker → · Palette generator →

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