#2C3299#2C3299

#2C3299 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.165 H 273.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2C3299
RGBrgb(44, 50, 153)
HSLhsl(237, 55%, 39%)
HSVhsv(237, 71%, 60%)
CMYKcmyk(71.2%, 67.3%, 0%, 40%)
CIE-LABlab(27.06, 32.84, -56.90)
CIE-LCHlch(27.06, 65.70, 299.99°)
OKLaboklab(38.46% 0.0089 -0.1644)
OKLCHoklch(38.46% 0.165 273.1)
XYZxyz(7.9272, 5.1158, 30.7005)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3299 #99932C
analogous
#2C6899 #2C3299 #5C2C99
triadic
#2C3299 #992C32 #32992C
tetradic
#2C3299 #992C68 #99932C #2C995C
square
#2C3299 #992C68 #99932C #2C995C
split-complementary
#2C3299 #995C2C #68992C
monochromatic
#11133A #1E2269 #2C3299 #3B43C7 #6B71D4

Accessibility & contrast

On white

10.38
#2C3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3299
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3299#FFFFFF#000000##FFFFFF
##2C32991.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3299;
/* rgb */ color: rgb(44, 50, 153);
/* oklch */ color: oklch(38.5% 0.165 273.1);
Tailwind
colors: {
  custom: {
    50: '#756ab8',
    500: '#2c3299',
    950: '#000000',
  },
}
SCSS
$custom: #2c3299;
$custom-light: #756ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3299",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 236.697,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.16464,
    "h": 273.1
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#2C3299
secondary
#BBB766
accent
#D649DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2C3299

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

Preview Lab → · Contrast checker → · Palette generator →

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