#2C4398#2C4398

#2C4398 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.142 H 268.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2C4398
RGBrgb(44, 67, 152)
HSLhsl(227, 55%, 38%)
HSVhsv(227, 71%, 60%)
CMYKcmyk(71.1%, 55.9%, 0%, 40.4%)
CIE-LABlab(31.38, 21.19, -49.24)
CIE-LCHlch(31.38, 53.61, 293.28°)
OKLaboklab(41.64% -0.0045 -0.1417)
OKLCHoklch(41.64% 0.142 268.2)
XYZxyz(8.7114, 6.8159, 30.5562)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4398 #98812C
analogous
#2C7998 #2C4398 #4B2C98
triadic
#2C4398 #982C43 #43982C
tetradic
#2C4398 #982C79 #98812C #2C984B
square
#2C4398 #982C79 #98812C #2C984B
split-complementary
#2C4398 #984B2C #79982C
monochromatic
#111939 #1E2E69 #2C4398 #3B59C6 #6A81D4

Accessibility & contrast

On white

8.89
#2C4398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C4398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4398
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4398#FFFFFF#000000##FFFFFF
##2C43981.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4398;
/* rgb */ color: rgb(44, 67, 152);
/* oklch */ color: oklch(41.6% 0.142 268.2);
Tailwind
colors: {
  custom: {
    50: '#7376b7',
    500: '#2c4398',
    950: '#000000',
  },
}
SCSS
$custom: #2c4398;
$custom-light: #7376b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4398",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 227.222,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.14181,
    "h": 268.2
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4398

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

Preview Lab → · Contrast checker → · Palette generator →

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