#2C39B8#2C39B8

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

Color values

HEX#2C39B8
RGBrgb(44, 57, 184)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(76.1%, 69%, 0%, 27.8%)
CIE-LABlab(31.63, 39.48, -68.05)
CIE-LCHlch(31.63, 78.67, 300.12°)
OKLaboklab(42.67% 0.0016 -0.197)
OKLCHoklch(42.67% 0.197 270.5)
XYZxyz(11.1506, 6.9212, 46.0864)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B8 #B8AB2C
analogous
#2C7FB8 #2C39B8 #652CB8
triadic
#2C39B8 #B82C39 #39B82C
tetradic
#2C39B8 #B82C7F #B8AB2C #2CB865
square
#2C39B8 #B82C7F #B8AB2C #2CB865
split-complementary
#2C39B8 #B8652C #7FB82C
monochromatic
#141A55 #202A87 #2C39B8 #4D59D4 #7E87E0

Accessibility & contrast

On white

8.81
#2C39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C39B8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B8#FFFFFF#000000##FFFFFF
##2C39B81.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c39b8;
/* rgb */ color: rgb(44, 57, 184);
/* oklch */ color: oklch(42.7% 0.197 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c70ce',
    500: '#2c39b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b8;
$custom-light: #7c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b8",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 234.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.19697,
    "h": 270.5
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#2C39B8
secondary
#C9C177
accent
#D643E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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