#2C339C#2C339C

#2C339C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.167 H 272.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2C339C
RGBrgb(44, 51, 156)
HSLhsl(236, 56%, 39%)
HSVhsv(236, 72%, 61%)
CMYKcmyk(71.8%, 67.3%, 0%, 38.8%)
CIE-LABlab(27.58, 33.28, -57.88)
CIE-LCHlch(27.58, 66.77, 299.90°)
OKLaboklab(38.93% 0.0079 -0.1673)
OKLCHoklch(38.93% 0.167 272.7)
XYZxyz(8.2213, 5.3026, 32.0363)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C339C #9C952C
analogous
#2C6B9C #2C339C #5D2C9C
triadic
#2C339C #9C2C33 #339C2C
tetradic
#2C339C #9C2C6B #9C952C #2C9C5D
square
#2C339C #9C2C6B #9C952C #2C9C5D
split-complementary
#2C339C #9C5D2C #6B9C2C
monochromatic
#11143D #1F236C #2C339C #3D46C8 #6D73D6

Accessibility & contrast

On white

10.19
#2C339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C339C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C339C#FFFFFF#000000##FFFFFF
##2C339C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c339c;
/* rgb */ color: rgb(44, 51, 156);
/* oklch */ color: oklch(38.9% 0.167 272.7);
Tailwind
colors: {
  custom: {
    50: '#766bba',
    500: '#2c339c',
    950: '#000000',
  },
}
SCSS
$custom: #2c339c;
$custom-light: #766bba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c339c",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 236.25,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38927,
    "c": 0.16746,
    "h": 272.7
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#2C339C
secondary
#BDB767
accent
#D649DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C339C

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

Preview Lab → · Contrast checker → · Palette generator →

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