#2C3D99#2C3D99

#2C3D99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.151 H 270.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2C3D99
RGBrgb(44, 61, 153)
HSLhsl(231, 55%, 39%)
HSVhsv(231, 71%, 60%)
CMYKcmyk(71.2%, 60.1%, 0%, 40%)
CIE-LABlab(29.84, 25.61, -52.36)
CIE-LCHlch(29.84, 58.28, 296.06°)
OKLaboklab(40.51% 0.0006 -0.151)
OKLCHoklch(40.51% 0.151 270.2)
XYZxyz(8.4553, 6.1720, 30.8765)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D99 #99882C
analogous
#2C7399 #2C3D99 #512C99
triadic
#2C3D99 #992C3D #3D992C
tetradic
#2C3D99 #992C73 #99882C #2C9951
square
#2C3D99 #992C73 #99882C #2C9951
split-complementary
#2C3D99 #99512C #73992C
monochromatic
#11173A #1E2A69 #2C3D99 #3B51C7 #6B7BD4

Accessibility & contrast

On white

9.40
#2C3D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C3D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D99
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D99#FFFFFF#000000##FFFFFF
##2C3D991.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3d99;
/* rgb */ color: rgb(44, 61, 153);
/* oklch */ color: oklch(40.5% 0.151 270.2);
Tailwind
colors: {
  custom: {
    50: '#7472b8',
    500: '#2c3d99',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d99;
$custom-light: #7472b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d99",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 230.642,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.15098,
    "h": 270.2
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#2C3D99
secondary
#BBAE66
accent
#C749DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3D99

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

Preview Lab → · Contrast checker → · Palette generator →

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