#2C4898#2C4898

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

Color values

HEX#2C4898
RGBrgb(44, 72, 152)
HSLhsl(224, 55%, 38%)
HSVhsv(224, 71%, 60%)
CMYKcmyk(71.1%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.78, 17.82, -46.98)
CIE-LCHlch(32.78, 50.25, 290.77°)
OKLaboklab(42.69% -0.0089 -0.135)
OKLCHoklch(42.69% 0.135 266.2)
XYZxyz(9.0216, 7.4363, 30.6596)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4898 #987C2C
analogous
#2C7E98 #2C4898 #462C98
triadic
#2C4898 #982C48 #48982C
tetradic
#2C4898 #982C7E #987C2C #2C9846
square
#2C4898 #982C7E #987C2C #2C9846
split-complementary
#2C4898 #98462C #7E982C
monochromatic
#111B39 #1E3269 #2C4898 #3B5FC6 #6A86D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4898#FFFFFF#000000##FFFFFF
##2C48981.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)
#15529B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4898;
/* rgb */ color: rgb(44, 72, 152);
/* oklch */ color: oklch(42.7% 0.135 266.2);
Tailwind
colors: {
  custom: {
    50: '#737ab7',
    500: '#2c4898',
    950: '#000000',
  },
}
SCSS
$custom: #2c4898;
$custom-light: #737ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4898",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 224.444,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.1353,
    "h": 266.2
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#2C4898
secondary
#BBA565
accent
#B849DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4898

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

Preview Lab → · Contrast checker → · Palette generator →

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