#2C399F#2C399F

#2C399F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.164 H 271.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2C399F
RGBrgb(44, 57, 159)
HSLhsl(233, 57%, 40%)
HSVhsv(233, 72%, 62%)
CMYKcmyk(72.3%, 64.2%, 0%, 37.6%)
CIE-LABlab(29.32, 30.48, -56.86)
CIE-LCHlch(29.32, 64.51, 298.20°)
OKLaboklab(40.28% 0.0035 -0.1642)
OKLCHoklch(40.28% 0.164 271.2)
XYZxyz(8.7577, 5.9641, 33.4838)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C399F #9F922C
analogous
#2C739F #2C399F #582C9F
triadic
#2C399F #9F2C39 #399F2C
tetradic
#2C399F #9F2C73 #9F922C #2C9F58
square
#2C399F #9F2C73 #9F922C #2C9F58
split-complementary
#2C399F #9F582C #739F2C
monochromatic
#11173F #1F286F #2C399F #3E4ECA #6E7AD7

Accessibility & contrast

On white

9.58
#2C399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C399F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C399F#FFFFFF#000000##FFFFFF
##2C399F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c399f;
/* rgb */ color: rgb(44, 57, 159);
/* oklch */ color: oklch(40.3% 0.164 271.2);
Tailwind
colors: {
  custom: {
    50: '#766fbc',
    500: '#2c399f',
    950: '#000000',
  },
}
SCSS
$custom: #2c399f;
$custom-light: #766fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c399f",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 233.217,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.16426,
    "h": 271.2
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#2C399F
secondary
#BEB469
accent
#CF48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C399F

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

Preview Lab → · Contrast checker → · Palette generator →

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