#2C3A99#2C3A99

#2C3A99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.155 H 271.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2C3A99
RGBrgb(44, 58, 153)
HSLhsl(232, 55%, 39%)
HSVhsv(232, 71%, 60%)
CMYKcmyk(71.2%, 62.1%, 0%, 40%)
CIE-LABlab(29.06, 27.61, -53.64)
CIE-LCHlch(29.06, 60.33, 297.24°)
OKLaboklab(39.93% 0.003 -0.1548)
OKLCHoklch(39.93% 0.155 271.1)
XYZxyz(8.2996, 5.8607, 30.8246)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A99 #998B2C
analogous
#2C7099 #2C3A99 #542C99
triadic
#2C3A99 #992C3A #3A992C
tetradic
#2C3A99 #992C70 #998B2C #2C9954
square
#2C3A99 #992C70 #998B2C #2C9954
split-complementary
#2C3A99 #99542C #70992C
monochromatic
#11163A #1E2869 #2C3A99 #3B4DC7 #6B79D4

Accessibility & contrast

On white

9.67
#2C3A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C3A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A99
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A99#FFFFFF#000000##FFFFFF
##2C3A991.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3a99;
/* rgb */ color: rgb(44, 58, 153);
/* oklch */ color: oklch(39.9% 0.155 271.1);
Tailwind
colors: {
  custom: {
    50: '#7470b8',
    500: '#2c3a99',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a99;
$custom-light: #7470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a99",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 232.294,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.1548,
    "h": 271.1
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#2C3A99
secondary
#BBB066
accent
#CB49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3A99

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

Preview Lab → · Contrast checker → · Palette generator →

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