#2C399C#2C399C

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

Color values

HEX#2C399C
RGBrgb(44, 57, 156)
HSLhsl(233, 56%, 39%)
HSVhsv(233, 72%, 61%)
CMYKcmyk(71.8%, 63.5%, 0%, 38.8%)
CIE-LABlab(29.06, 29.38, -55.46)
CIE-LCHlch(29.06, 62.76, 297.91°)
OKLaboklab(40.01% 0.0037 -0.1601)
OKLCHoklch(40.01% 0.16 271.3)
XYZxyz(8.5006, 5.8612, 32.1294)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C399C #9C8F2C
analogous
#2C719C #2C399C #572C9C
triadic
#2C399C #9C2C39 #399C2C
tetradic
#2C399C #9C2C71 #9C8F2C #2C9C57
square
#2C399C #9C2C71 #9C8F2C #2C9C57
split-complementary
#2C399C #9C572C #719C2C
monochromatic
#11163D #1F286C #2C399C #3D4DC8 #6D79D6

Accessibility & contrast

On white

9.67
#2C399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C399C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C399C#FFFFFF#000000##FFFFFF
##2C399C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c399c;
/* rgb */ color: rgb(44, 57, 156);
/* oklch */ color: oklch(40.0% 0.160 271.3);
Tailwind
colors: {
  custom: {
    50: '#756fba',
    500: '#2c399c',
    950: '#000000',
  },
}
SCSS
$custom: #2c399c;
$custom-light: #756fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c399c",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 233.036,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.16017,
    "h": 271.3
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#2C399C
secondary
#BDB367
accent
#CE49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C399C

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

Preview Lab → · Contrast checker → · Palette generator →

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