#2C39B7#2C39B7

#2C39B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.196 H 270.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2C39B7
RGBrgb(44, 57, 183)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(76%, 68.9%, 0%, 28.2%)
CIE-LABlab(31.53, 39.13, -67.62)
CIE-LCHlch(31.53, 78.12, 300.06°)
OKLaboklab(42.57% 0.0017 -0.1957)
OKLCHoklch(42.57% 0.196 270.5)
XYZxyz(11.0462, 6.8794, 45.5363)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B7 #B7AA2C
analogous
#2C7FB7 #2C39B7 #642CB7
triadic
#2C39B7 #B72C39 #39B72C
tetradic
#2C39B7 #B72C7F #B7AA2C #2CB764
square
#2C39B7 #B72C7F #B7AA2C #2CB764
split-complementary
#2C39B7 #B7642C #7FB72C
monochromatic
#141A54 #202A86 #2C39B7 #4C59D4 #7E87E0

Accessibility & contrast

On white

8.84
#2C39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39B7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B7#FFFFFF#000000##FFFFFF
##2C39B71.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c39b7;
/* rgb */ color: rgb(44, 57, 183);
/* oklch */ color: oklch(42.6% 0.196 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2c39b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b7;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b7",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 234.388,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.1957,
    "h": 270.5
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#2C39B7
secondary
#C8C176
accent
#D543E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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