#2B39B6#2B39B6

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

Color values

HEX#2B39B6
RGBrgb(43, 57, 182)
HSLhsl(234, 62%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(76.4%, 68.7%, 0%, 28.6%)
CIE-LABlab(31.38, 38.68, -67.26)
CIE-LCHlch(31.38, 77.59, 299.90°)
OKLaboklab(42.42% 0.0008 -0.1947)
OKLCHoklch(42.42% 0.195 270.2)
XYZxyz(10.9000, 6.8161, 44.9881)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B6 #B6A82B
analogous
#2B7FB6 #2B39B6 #632BB6
triadic
#2B39B6 #B62B39 #39B62B
tetradic
#2B39B6 #B62B7F #B6A82B #2BB663
square
#2B39B6 #B62B7F #B6A82B #2BB663
split-complementary
#2B39B6 #B6632B #7FB62B
monochromatic
#141A53 #1F2984 #2B39B6 #4A58D4 #7B86E0

Accessibility & contrast

On white

8.89
#2B39B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B39B6
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B6#FFFFFF#000000##FFFFFF
##2B39B61.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b39b6;
/* rgb */ color: rgb(43, 57, 182);
/* oklch */ color: oklch(42.4% 0.195 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b70cd',
    500: '#2b39b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b6;
$custom-light: #7b70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b6",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 233.957,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.19469,
    "h": 270.2
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B39B6

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

Preview Lab → · Contrast checker → · Palette generator →

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