#2C39B5#2C39B5

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

Color values

HEX#2C39B5
RGBrgb(44, 57, 181)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(75.7%, 68.5%, 0%, 29%)
CIE-LABlab(31.34, 38.42, -66.74)
CIE-LCHlch(31.34, 77.01, 299.93°)
OKLaboklab(42.38% 0.0019 -0.1931)
OKLCHoklch(42.38% 0.193 270.6)
XYZxyz(10.8395, 6.7968, 44.4477)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39B5 #B5A82C
analogous
#2C7EB5 #2C39B5 #642CB5
triadic
#2C39B5 #B52C39 #39B52C
tetradic
#2C39B5 #B52C7E #B5A82C #2CB564
square
#2C39B5 #B52C7E #B5A82C #2CB564
split-complementary
#2C39B5 #B5642C #7EB52C
monochromatic
#141A53 #202984 #2C39B5 #4B58D3 #7C86DF

Accessibility & contrast

On white

8.90
#2C39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39B5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39B5#FFFFFF#000000##FFFFFF
##2C39B51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c39b5;
/* rgb */ color: rgb(44, 57, 181);
/* oklch */ color: oklch(42.4% 0.193 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b70cc',
    500: '#2c39b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c39b5;
$custom-light: #7b70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39b5",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 234.307,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.19315,
    "h": 270.6
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#2C39B5
secondary
#C8C075
accent
#D544E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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