#2C39B4#2C39B4

#2C39B4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.192 H 270.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2C39B4
RGBrgb(44, 57, 180)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(75.6%, 68.3%, 0%, 29.4%)
CIE-LABlab(31.24, 38.07, -66.31)
CIE-LCHlch(31.24, 76.46, 299.86°)
OKLaboklab(42.28% 0.002 -0.1919)
OKLCHoklch(42.28% 0.192 270.6)
XYZxyz(10.7372, 6.7559, 43.9093)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B4 #B4A72C
analogous
#2C7DB4 #2C39B4 #632CB4
triadic
#2C39B4 #B42C39 #39B42C
tetradic
#2C39B4 #B42C7D #B4A72C #2CB463
square
#2C39B4 #B42C7D #B4A72C #2CB463
split-complementary
#2C39B4 #B4632C #7DB42C
monochromatic
#141A52 #202983 #2C39B4 #4A57D3 #7C85DF

Accessibility & contrast

On white

8.93
#2C39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39B4
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B4#FFFFFF#000000##FFFFFF
##2C39B41.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c39b4;
/* rgb */ color: rgb(44, 57, 180);
/* oklch */ color: oklch(42.3% 0.192 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b70cc',
    500: '#2c39b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b4;
$custom-light: #7b70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b4",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 234.265,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.19188,
    "h": 270.6
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#2C39B4
secondary
#C7BF75
accent
#D544E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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