#2C39B6#2C39B6

#2C39B6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.194 H 270.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2C39B6
RGBrgb(44, 57, 182)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(75.8%, 68.7%, 0%, 28.6%)
CIE-LABlab(31.43, 38.78, -67.18)
CIE-LCHlch(31.43, 77.57, 299.99°)
OKLaboklab(42.47% 0.0018 -0.1944)
OKLCHoklch(42.47% 0.194 270.5)
XYZxyz(10.9425, 6.8379, 44.9901)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B6 #B6A92C
analogous
#2C7EB6 #2C39B6 #642CB6
triadic
#2C39B6 #B62C39 #39B62C
tetradic
#2C39B6 #B62C7E #B6A92C #2CB664
square
#2C39B6 #B62C7E #B6A92C #2CB664
split-complementary
#2C39B6 #B6642C #7EB62C
monochromatic
#141A53 #202A85 #2C39B6 #4C58D4 #7D86E0

Accessibility & contrast

On white

8.87
#2C39B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C39B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39B6
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B6#FFFFFF#000000##FFFFFF
##2C39B61.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c39b6;
/* rgb */ color: rgb(44, 57, 182);
/* oklch */ color: oklch(42.5% 0.194 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b70cd',
    500: '#2c39b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b6;
$custom-light: #7b70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b6",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 234.348,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42473,
    "c": 0.19443,
    "h": 270.5
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#2C39B6
secondary
#C8C076
accent
#D544E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C39B6

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

Preview Lab → · Contrast checker → · Palette generator →

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