#2C3C99#2C3C99

#2C3C99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.152 H 270.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2C3C99
RGBrgb(44, 60, 153)
HSLhsl(231, 55%, 39%)
HSVhsv(231, 71%, 60%)
CMYKcmyk(71.2%, 60.8%, 0%, 40%)
CIE-LABlab(29.58, 26.27, -52.79)
CIE-LCHlch(29.58, 58.97, 296.46°)
OKLaboklab(40.32% 0.0014 -0.1522)
OKLCHoklch(40.32% 0.152 270.5)
XYZxyz(8.4024, 6.0663, 30.8589)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C99 #99892C
analogous
#2C7299 #2C3C99 #522C99
triadic
#2C3C99 #992C3C #3C992C
tetradic
#2C3C99 #992C72 #99892C #2C9952
square
#2C3C99 #992C72 #99892C #2C9952
split-complementary
#2C3C99 #99522C #72992C
monochromatic
#11173A #1E2969 #2C3C99 #3B50C7 #6B7AD4

Accessibility & contrast

On white

9.49
#2C3C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C3C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C99
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C99#FFFFFF#000000##FFFFFF
##2C3C991.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3c99;
/* rgb */ color: rgb(44, 60, 153);
/* oklch */ color: oklch(40.3% 0.152 270.5);
Tailwind
colors: {
  custom: {
    50: '#7471b8',
    500: '#2c3c99',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c99;
$custom-light: #7471b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c99",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 231.193,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.15226,
    "h": 270.5
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#2C3C99
secondary
#BBAF66
accent
#C949DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3C99

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

Preview Lab → · Contrast checker → · Palette generator →

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