#2C399B#2C399B

#2C399B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.159 H 271.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2C399B
RGBrgb(44, 57, 155)
HSLhsl(233, 56%, 39%)
HSVhsv(233, 72%, 61%)
CMYKcmyk(71.6%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.97, 29.01, -54.99)
CIE-LCHlch(28.97, 62.18, 297.81°)
OKLaboklab(39.92% 0.0037 -0.1588)
OKLCHoklch(39.92% 0.159 271.3)
XYZxyz(8.4162, 5.8275, 31.6853)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C399B #9B8E2C
analogous
#2C719B #2C399B #572C9B
triadic
#2C399B #9B2C39 #399B2C
tetradic
#2C399B #9B2C71 #9B8E2C #2C9B57
square
#2C399B #9B2C71 #9B8E2C #2C9B57
split-complementary
#2C399B #9B572C #719B2C
monochromatic
#11163C #1E276B #2C399B #3C4DC8 #6C78D5

Accessibility & contrast

On white

9.70
#2C399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C399B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C399B#FFFFFF#000000##FFFFFF
##2C399B1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c399b;
/* rgb */ color: rgb(44, 57, 155);
/* oklch */ color: oklch(39.9% 0.159 271.3);
Tailwind
colors: {
  custom: {
    50: '#756fb9',
    500: '#2c399b',
    950: '#000000',
  },
}
SCSS
$custom: #2c399b;
$custom-light: #756fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c399b",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 232.973,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.1588,
    "h": 271.3
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#2C399B
secondary
#BCB267
accent
#CD49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2C399B

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

Preview Lab → · Contrast checker → · Palette generator →

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