#2C39B1#2C39B1

#2C39B1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.188 H 270.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2C39B1
RGBrgb(44, 57, 177)
HSLhsl(234, 60%, 43%)
HSVhsv(234, 75%, 69%)
CMYKcmyk(75.1%, 67.8%, 0%, 30.6%)
CIE-LABlab(30.96, 37.00, -64.99)
CIE-LCHlch(30.96, 74.78, 299.65°)
OKLaboklab(41.99% 0.0023 -0.188)
OKLCHoklch(41.99% 0.188 270.7)
XYZxyz(10.4349, 6.6349, 42.3172)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B1 #B1A42C
analogous
#2C7BB1 #2C39B1 #612CB1
triadic
#2C39B1 #B12C39 #39B12C
tetradic
#2C39B1 #B12C7B #B1A42C #2CB161
square
#2C39B1 #B12C7B #B1A42C #2CB161
split-complementary
#2C39B1 #B1612C #7BB12C
monochromatic
#14194F #202980 #2C39B1 #4956D2 #7A83DE

Accessibility & contrast

On white

9.02
#2C39B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C39B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39B1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B1#FFFFFF#000000##FFFFFF
##2C39B11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c39b1;
/* rgb */ color: rgb(44, 57, 177);
/* oklch */ color: oklch(42.0% 0.188 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a70c9',
    500: '#2c39b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b1;
$custom-light: #7a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b1",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 234.135,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.18802,
    "h": 270.7
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#2C39B1
secondary
#C6BE73
accent
#D444E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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