#2C39B3#2C39B3

#2C39B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.191 H 270.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2C39B3
RGBrgb(44, 57, 179)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 75%, 70%)
CMYKcmyk(75.4%, 68.2%, 0%, 29.8%)
CIE-LABlab(31.15, 37.71, -65.87)
CIE-LCHlch(31.15, 75.90, 299.79°)
OKLaboklab(42.18% 0.0021 -0.1906)
OKLCHoklch(42.18% 0.191 270.6)
XYZxyz(10.6357, 6.7153, 43.3747)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B3 #B3A62C
analogous
#2C7CB3 #2C39B3 #622CB3
triadic
#2C39B3 #B32C39 #39B32C
tetradic
#2C39B3 #B32C7C #B3A62C #2CB362
square
#2C39B3 #B32C7C #B3A62C #2CB362
split-complementary
#2C39B3 #B3622C #7CB32C
monochromatic
#141A51 #202982 #2C39B3 #4A57D2 #7B84DF

Accessibility & contrast

On white

8.96
#2C39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39B3
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B3#FFFFFF#000000##FFFFFF
##2C39B31.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c39b3;
/* rgb */ color: rgb(44, 57, 179);
/* oklch */ color: oklch(42.2% 0.191 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b70cb',
    500: '#2c39b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b3;
$custom-light: #7b70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b3",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 234.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.1906,
    "h": 270.6
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#2C39B3
secondary
#C7BF74
accent
#D444E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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