#2C3F99#2C3F99

#2C3F99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.148 H 269.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2C3F99
RGBrgb(44, 63, 153)
HSLhsl(230, 55%, 39%)
HSVhsv(230, 71%, 60%)
CMYKcmyk(71.2%, 58.8%, 0%, 40%)
CIE-LABlab(30.37, 24.26, -51.49)
CIE-LCHlch(30.37, 56.92, 295.23°)
OKLaboklab(40.91% -0.001 -0.1484)
OKLCHoklch(40.91% 0.148 269.6)
XYZxyz(8.5640, 6.3895, 30.9128)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F99 #99862C
analogous
#2C7599 #2C3F99 #4F2C99
triadic
#2C3F99 #992C3F #3F992C
tetradic
#2C3F99 #992C75 #99862C #2C994F
square
#2C3F99 #992C75 #99862C #2C994F
split-complementary
#2C3F99 #994F2C #75992C
monochromatic
#11183A #1E2B69 #2C3F99 #3B54C7 #6B7DD4

Accessibility & contrast

On white

9.22
#2C3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C3F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F99
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F99#FFFFFF#000000##FFFFFF
##2C3F991.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3f99;
/* rgb */ color: rgb(44, 63, 153);
/* oklch */ color: oklch(40.9% 0.148 269.6);
Tailwind
colors: {
  custom: {
    50: '#7473b8',
    500: '#2c3f99',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f99;
$custom-light: #7473b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f99",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 229.541,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.14841,
    "h": 269.6
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#2C3F99
secondary
#BBAC66
accent
#C549DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3F99

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

Preview Lab → · Contrast checker → · Palette generator →

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