#2C399E#2C399E

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

Color values

HEX#2C399E
RGBrgb(44, 57, 158)
HSLhsl(233, 56%, 40%)
HSVhsv(233, 72%, 62%)
CMYKcmyk(72.2%, 63.9%, 0%, 38%)
CIE-LABlab(29.23, 30.11, -56.39)
CIE-LCHlch(29.23, 63.93, 298.10°)
OKLaboklab(40.19% 0.0036 -0.1629)
OKLCHoklch(40.19% 0.163 271.3)
XYZxyz(8.6713, 5.9295, 33.0286)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C399E #9E912C
analogous
#2C729E #2C399E #582C9E
triadic
#2C399E #9E2C39 #399E2C
tetradic
#2C399E #9E2C72 #9E912C #2C9E58
square
#2C399E #9E2C72 #9E912C #2C9E58
split-complementary
#2C399E #9E582C #729E2C
monochromatic
#11163E #1F286E #2C399E #3E4EC9 #6E7AD7

Accessibility & contrast

On white

9.61
#2C399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C399E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C399E#FFFFFF#000000##FFFFFF
##2C399E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c399e;
/* rgb */ color: rgb(44, 57, 158);
/* oklch */ color: oklch(40.2% 0.163 271.3);
Tailwind
colors: {
  custom: {
    50: '#766fbc',
    500: '#2c399e',
    950: '#000000',
  },
}
SCSS
$custom: #2c399e;
$custom-light: #766fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c399e",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 233.158,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.1629,
    "h": 271.3
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C399E

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

Preview Lab → · Contrast checker → · Palette generator →

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