#2C39A8#2C39A8

#2C39A8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.176 H 271.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2C39A8
RGBrgb(44, 57, 168)
HSLhsl(234, 58%, 42%)
HSVhsv(234, 74%, 66%)
CMYKcmyk(73.8%, 66.1%, 0%, 34.1%)
CIE-LABlab(30.13, 33.76, -60.97)
CIE-LCHlch(30.13, 69.69, 298.98°)
OKLaboklab(41.12% 0.003 -0.1763)
OKLCHoklch(41.12% 0.176 271)
XYZxyz(9.5673, 6.2879, 37.7477)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39A8 #A89B2C
analogous
#2C77A8 #2C39A8 #5D2CA8
triadic
#2C39A8 #A82C39 #39A82C
tetradic
#2C39A8 #A82C77 #A89B2C #2CA85D
square
#2C39A8 #A82C77 #A89B2C #2CA85D
split-complementary
#2C39A8 #A85D2C #77A82C
monochromatic
#131847 #1F2978 #2C39A8 #4352CE #747FDB

Accessibility & contrast

On white

9.30
#2C39A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C39A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39A8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39A8#FFFFFF#000000##FFFFFF
##2C39A81.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c39a8;
/* rgb */ color: rgb(44, 57, 168);
/* oklch */ color: oklch(41.1% 0.176 271.0);
Tailwind
colors: {
  custom: {
    50: '#786fc3',
    500: '#2c39a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c39a8;
$custom-light: #786fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39a8",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 233.71,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41123,
    "c": 0.17629,
    "h": 271
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#2C39A8
secondary
#C2B96E
accent
#D146E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C39A8

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

Preview Lab → · Contrast checker → · Palette generator →

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