#2C399D#2C399D

#2C399D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.162 H 271.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2C399D
RGBrgb(44, 57, 157)
HSLhsl(233, 56%, 39%)
HSVhsv(233, 72%, 62%)
CMYKcmyk(72%, 63.7%, 0%, 38.4%)
CIE-LABlab(29.15, 29.75, -55.93)
CIE-LCHlch(29.15, 63.35, 298.01°)
OKLaboklab(40.1% 0.0036 -0.1615)
OKLCHoklch(40.1% 0.162 271.3)
XYZxyz(8.5856, 5.8952, 32.5772)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C399D #9D902C
analogous
#2C729D #2C399D #572C9D
triadic
#2C399D #9D2C39 #399D2C
tetradic
#2C399D #9D2C72 #9D902C #2C9D57
square
#2C399D #9D2C72 #9D902C #2C9D57
split-complementary
#2C399D #9D572C #729D2C
monochromatic
#11163D #1F286D #2C399D #3D4DC9 #6D79D6

Accessibility & contrast

On white

9.64
#2C399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C399D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C399D#FFFFFF#000000##FFFFFF
##2C399D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c399d;
/* rgb */ color: rgb(44, 57, 157);
/* oklch */ color: oklch(40.1% 0.162 271.3);
Tailwind
colors: {
  custom: {
    50: '#756fbb',
    500: '#2c399d',
    950: '#000000',
  },
}
SCSS
$custom: #2c399d;
$custom-light: #756fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c399d",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 233.097,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.16154,
    "h": 271.3
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#2C399D
secondary
#BDB368
accent
#CE48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C399D

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

Preview Lab → · Contrast checker → · Palette generator →

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