#2C3E99#2C3E99

#2C3E99 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.150 H 269.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2C3E99
RGBrgb(44, 62, 153)
HSLhsl(230, 55%, 39%)
HSVhsv(230, 71%, 60%)
CMYKcmyk(71.2%, 59.5%, 0%, 40%)
CIE-LABlab(30.11, 24.94, -51.93)
CIE-LCHlch(30.11, 57.60, 295.65°)
OKLaboklab(40.71% -0.0002 -0.1497)
OKLCHoklch(40.71% 0.15 269.9)
XYZxyz(8.5091, 6.2798, 30.8945)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E99 #99872C
analogous
#2C7499 #2C3E99 #502C99
triadic
#2C3E99 #992C3E #3E992C
tetradic
#2C3E99 #992C74 #99872C #2C9950
square
#2C3E99 #992C74 #99872C #2C9950
split-complementary
#2C3E99 #99502C #74992C
monochromatic
#11173A #1E2B69 #2C3E99 #3B52C7 #6B7CD4

Accessibility & contrast

On white

9.31
#2C3E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C3E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E99
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E99#FFFFFF#000000##FFFFFF
##2C3E991.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3e99;
/* rgb */ color: rgb(44, 62, 153);
/* oklch */ color: oklch(40.7% 0.150 269.9);
Tailwind
colors: {
  custom: {
    50: '#7473b8',
    500: '#2c3e99',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e99;
$custom-light: #7473b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e99",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 230.092,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40709,
    "c": 0.1497,
    "h": 269.9
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#2C3E99
secondary
#BBAD66
accent
#C649DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E99

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

Preview Lab → · Contrast checker → · Palette generator →

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