#2C4498#2C4498

#2C4498 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.141 H 267.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2C4498
RGBrgb(44, 68, 152)
HSLhsl(227, 55%, 38%)
HSVhsv(227, 71%, 60%)
CMYKcmyk(71.1%, 55.3%, 0%, 40.4%)
CIE-LABlab(31.66, 20.52, -48.80)
CIE-LCHlch(31.66, 52.94, 292.81°)
OKLaboklab(41.85% -0.0053 -0.1404)
OKLCHoklch(41.85% 0.141 267.8)
XYZxyz(8.7714, 6.9358, 30.5762)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4498 #98802C
analogous
#2C7A98 #2C4498 #4A2C98
triadic
#2C4498 #982C44 #44982C
tetradic
#2C4498 #982C7A #98802C #2C984A
square
#2C4498 #982C7A #98802C #2C984A
split-complementary
#2C4498 #984A2C #7A982C
monochromatic
#111A39 #1E2F69 #2C4498 #3B5AC6 #6A82D4

Accessibility & contrast

On white

8.80
#2C4498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C4498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4498
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4498#FFFFFF#000000##FFFFFF
##2C44981.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4498;
/* rgb */ color: rgb(44, 68, 152);
/* oklch */ color: oklch(41.8% 0.141 267.8);
Tailwind
colors: {
  custom: {
    50: '#7377b7',
    500: '#2c4498',
    950: '#000000',
  },
}
SCSS
$custom: #2c4498;
$custom-light: #7377b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4498",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 226.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.14051,
    "h": 267.8
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#2C4498
secondary
#BBA865
accent
#BD49DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4498

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

Preview Lab → · Contrast checker → · Palette generator →

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