#2B39AC#2B39AC

#2B39AC is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.182 H 270.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2B39AC
RGBrgb(43, 57, 172)
HSLhsl(233, 60%, 42%)
HSVhsv(233, 75%, 67%)
CMYKcmyk(75%, 66.9%, 0%, 32.5%)
CIE-LABlab(30.44, 35.10, -62.85)
CIE-LCHlch(30.44, 71.99, 299.18°)
OKLaboklab(41.45% 0.0017 -0.1818)
OKLCHoklch(41.45% 0.182 270.5)
XYZxyz(9.9032, 6.4174, 39.7385)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39AC #AC9E2B
analogous
#2B7AAC #2B39AC #5D2BAC
triadic
#2B39AC #AC2B39 #39AC2B
tetradic
#2B39AC #AC2B7A #AC9E2B #2BAC5D
square
#2B39AC #AC2B7A #AC9E2B #2BAC5D
split-complementary
#2B39AC #AC5D2B #7AAC2B
monochromatic
#13194A #1F297B #2B39AC #4453D0 #7580DC

Accessibility & contrast

On white

9.20
#2B39AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B39AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39AC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39AC#FFFFFF#000000##FFFFFF
##2B39AC1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b39ac;
/* rgb */ color: rgb(43, 57, 172);
/* oklch */ color: oklch(41.5% 0.182 270.5);
Tailwind
colors: {
  custom: {
    50: '#786fc6',
    500: '#2b39ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b39ac;
$custom-light: #786fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39ac",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 233.488,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.18181,
    "h": 270.5
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#2B39AC
secondary
#C4BB6F
accent
#D245E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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