#2C4199#2C4199

#2C4199 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.146 H 268.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4199
RGBrgb(44, 65, 153)
HSLhsl(228, 55%, 39%)
HSVhsv(228, 71%, 60%)
CMYKcmyk(71.2%, 57.5%, 0%, 40%)
CIE-LABlab(30.91, 22.92, -50.62)
CIE-LCHlch(30.91, 55.56, 294.36°)
OKLaboklab(41.31% -0.0027 -0.1458)
OKLCHoklch(41.31% 0.146 268.9)
XYZxyz(8.6768, 6.6151, 30.9504)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4199 #99842C
analogous
#2C7799 #2C4199 #4D2C99
triadic
#2C4199 #992C41 #41992C
tetradic
#2C4199 #992C77 #99842C #2C994D
square
#2C4199 #992C77 #99842C #2C994D
split-complementary
#2C4199 #994D2C #77992C
monochromatic
#11193A #1E2D69 #2C4199 #3B56C7 #6B7FD4

Accessibility & contrast

On white

9.04
#2C4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C4199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4199
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4199#FFFFFF#000000##FFFFFF
##2C41991.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4199;
/* rgb */ color: rgb(44, 65, 153);
/* oklch */ color: oklch(41.3% 0.146 268.9);
Tailwind
colors: {
  custom: {
    50: '#7475b8',
    500: '#2c4199',
    950: '#000000',
  },
}
SCSS
$custom: #2c4199;
$custom-light: #7475b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4199",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 228.44,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.14583,
    "h": 268.9
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#2C4199
secondary
#BBAB66
accent
#C249DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4199

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

Preview Lab → · Contrast checker → · Palette generator →

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