#2C3B99#2C3B99

#2C3B99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.154 H 270.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2C3B99
RGBrgb(44, 59, 153)
HSLhsl(232, 55%, 39%)
HSVhsv(232, 71%, 60%)
CMYKcmyk(71.2%, 61.4%, 0%, 40%)
CIE-LABlab(29.32, 26.94, -53.21)
CIE-LCHlch(29.32, 59.65, 296.85°)
OKLaboklab(40.12% 0.0022 -0.1535)
OKLCHoklch(40.12% 0.154 270.8)
XYZxyz(8.3505, 5.9625, 30.8416)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B99 #998A2C
analogous
#2C7199 #2C3B99 #532C99
triadic
#2C3B99 #992C3B #3B992C
tetradic
#2C3B99 #992C71 #998A2C #2C9953
square
#2C3B99 #992C71 #998A2C #2C9953
split-complementary
#2C3B99 #99532C #71992C
monochromatic
#11163A #1E2969 #2C3B99 #3B4FC7 #6B79D4

Accessibility & contrast

On white

9.58
#2C3B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C3B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B99
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B99#FFFFFF#000000##FFFFFF
##2C3B991.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3b99;
/* rgb */ color: rgb(44, 59, 153);
/* oklch */ color: oklch(40.1% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#7470b8',
    500: '#2c3b99',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b99;
$custom-light: #7470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b99",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 231.743,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.15353,
    "h": 270.8
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3B99

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

Preview Lab → · Contrast checker → · Palette generator →

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