#2B39B1#2B39B1

#2B39B1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.188 H 270.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2B39B1
RGBrgb(43, 57, 177)
HSLhsl(234, 61%, 43%)
HSVhsv(234, 76%, 69%)
CMYKcmyk(75.7%, 67.8%, 0%, 30.6%)
CIE-LABlab(30.91, 36.90, -65.07)
CIE-LCHlch(30.91, 74.81, 299.55°)
OKLaboklab(41.93% 0.0012 -0.1883)
OKLCHoklch(41.93% 0.188 270.4)
XYZxyz(10.3925, 6.6131, 42.3152)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B1 #B1A32B
analogous
#2B7CB1 #2B39B1 #602BB1
triadic
#2B39B1 #B12B39 #39B12B
tetradic
#2B39B1 #B12B7C #B1A32B #2BB160
square
#2B39B1 #B12B7C #B1A32B #2BB160
split-complementary
#2B39B1 #B1602B #7CB12B
monochromatic
#13194F #1F2980 #2B39B1 #4755D2 #7883DE

Accessibility & contrast

On white

9.04
#2B39B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B39B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39B1
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B1#FFFFFF#000000##FFFFFF
##2B39B11.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b39b1;
/* rgb */ color: rgb(43, 57, 177);
/* oklch */ color: oklch(41.9% 0.188 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a6fc9',
    500: '#2b39b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b1;
$custom-light: #7a6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b1",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 233.731,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41933,
    "c": 0.18829,
    "h": 270.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#2B39B1
secondary
#C6BD72
accent
#D344E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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