#2C39BA#2C39BA

#2C39BA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.199 H 270.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2C39BA
RGBrgb(44, 57, 186)
HSLhsl(235, 62%, 45%)
HSVhsv(235, 76%, 73%)
CMYKcmyk(76.3%, 69.4%, 0%, 27.1%)
CIE-LABlab(31.82, 40.18, -68.91)
CIE-LCHlch(31.82, 79.77, 300.25°)
OKLaboklab(42.87% 0.0014 -0.1995)
OKLCHoklch(42.87% 0.199 270.4)
XYZxyz(11.3617, 7.0057, 47.1983)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39BA #BAAD2C
analogous
#2C80BA #2C39BA #662CBA
triadic
#2C39BA #BA2C39 #39BA2C
tetradic
#2C39BA #BA2C80 #BAAD2C #2CBA66
square
#2C39BA #BA2C80 #BAAD2C #2CBA66
split-complementary
#2C39BA #BA662C #80BA2C
monochromatic
#151B57 #202A89 #2C39BA #4E5AD5 #8088E1

Accessibility & contrast

On white

8.74
#2C39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2C39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39BA
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39BA#FFFFFF#000000##FFFFFF
##2C39BA1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c39ba;
/* rgb */ color: rgb(44, 57, 186);
/* oklch */ color: oklch(42.9% 0.199 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c70d0',
    500: '#2c39ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c39ba;
$custom-light: #7c70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39ba",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 234.507,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.19948,
    "h": 270.4
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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