#2C39B0#2C39B0

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

Color values

HEX#2C39B0
RGBrgb(44, 57, 176)
HSLhsl(234, 60%, 43%)
HSVhsv(234, 75%, 69%)
CMYKcmyk(75%, 67.6%, 0%, 31%)
CIE-LABlab(30.87, 36.64, -64.54)
CIE-LCHlch(30.87, 74.22, 299.58°)
OKLaboklab(41.89% 0.0024 -0.1867)
OKLCHoklch(41.89% 0.187 270.7)
XYZxyz(10.3356, 6.5952, 41.7942)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B0 #B0A32C
analogous
#2C7BB0 #2C39B0 #612CB0
triadic
#2C39B0 #B02C39 #39B02C
tetradic
#2C39B0 #B02C7B #B0A32C #2CB061
square
#2C39B0 #B02C7B #B0A32C #2CB061
split-complementary
#2C39B0 #B0612C #7BB02C
monochromatic
#14194E #20297F #2C39B0 #4855D1 #7983DD

Accessibility & contrast

On white

9.05
#2C39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C39B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39B0
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B0#FFFFFF#000000##FFFFFF
##2C39B01.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c39b0;
/* rgb */ color: rgb(44, 57, 176);
/* oklch */ color: oklch(41.9% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fc9',
    500: '#2c39b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b0;
$custom-light: #7a6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b0",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 234.091,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.18673,
    "h": 270.7
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#2C39B0
secondary
#C6BD72
accent
#D445E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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