#2B39B4#2B39B4

#2B39B4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.192 H 270.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B39B4
RGBrgb(43, 57, 180)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(76.1%, 68.3%, 0%, 29.4%)
CIE-LABlab(31.19, 37.97, -66.39)
CIE-LCHlch(31.19, 76.48, 299.76°)
OKLaboklab(42.23% 0.001 -0.1921)
OKLCHoklch(42.23% 0.192 270.3)
XYZxyz(10.6948, 6.7340, 43.9073)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B4 #B4A62B
analogous
#2B7DB4 #2B39B4 #612BB4
triadic
#2B39B4 #B42B39 #39B42B
tetradic
#2B39B4 #B42B7D #B4A62B #2BB461
square
#2B39B4 #B42B7D #B4A62B #2BB461
split-complementary
#2B39B4 #B4612B #7DB42B
monochromatic
#131A51 #1F2983 #2B39B4 #4957D3 #7A84DF

Accessibility & contrast

On white

8.95
#2B39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39B4
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B4#FFFFFF#000000##FFFFFF
##2B39B41.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b39b4;
/* rgb */ color: rgb(43, 57, 180);
/* oklch */ color: oklch(42.2% 0.192 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a70cc',
    500: '#2b39b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b4;
$custom-light: #7a70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b4",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 233.869,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.19214,
    "h": 270.3
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#2B39B4
secondary
#C7BF73
accent
#D443E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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