#2C4A98#2C4A98

#2C4A98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.133 H 265.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2C4A98
RGBrgb(44, 74, 152)
HSLhsl(223, 55%, 38%)
HSVhsv(223, 71%, 60%)
CMYKcmyk(71.1%, 51.3%, 0%, 40.4%)
CIE-LABlab(33.35, 16.47, -46.07)
CIE-LCHlch(33.35, 48.92, 289.68°)
OKLaboklab(43.13% -0.0107 -0.1323)
OKLCHoklch(43.13% 0.133 265.4)
XYZxyz(9.1530, 7.6991, 30.7034)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A98 #987A2C
analogous
#2C8098 #2C4A98 #442C98
triadic
#2C4A98 #982C4A #4A982C
tetradic
#2C4A98 #982C80 #987A2C #2C9844
square
#2C4A98 #982C80 #987A2C #2C9844
split-complementary
#2C4A98 #98442C #80982C
monochromatic
#111C39 #1E3369 #2C4A98 #3B62C6 #6A88D4

Accessibility & contrast

On white

8.27
#2C4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A98
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A98#FFFFFF#000000##FFFFFF
##2C4A981.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4a98;
/* rgb */ color: rgb(44, 74, 152);
/* oklch */ color: oklch(43.1% 0.133 265.4);
Tailwind
colors: {
  custom: {
    50: '#737cb7',
    500: '#2c4a98',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a98;
$custom-light: #737cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a98",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 223.333,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43126,
    "c": 0.13271,
    "h": 265.4
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#2C4A98
secondary
#BBA365
accent
#B549DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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