#2B39B2#2B39B2

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

Color values

HEX#2B39B2
RGBrgb(43, 57, 178)
HSLhsl(234, 61%, 43%)
HSVhsv(234, 76%, 70%)
CMYKcmyk(75.8%, 68%, 0%, 30.2%)
CIE-LABlab(31.00, 37.25, -65.51)
CIE-LCHlch(31.00, 75.36, 299.62°)
OKLaboklab(42.03% 0.0012 -0.1896)
OKLCHoklch(42.03% 0.19 270.3)
XYZxyz(10.4925, 6.6531, 42.8420)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B2 #B2A42B
analogous
#2B7CB2 #2B39B2 #602BB2
triadic
#2B39B2 #B22B39 #39B22B
tetradic
#2B39B2 #B22B7C #B2A42B #2BB260
square
#2B39B2 #B22B7C #B2A42B #2BB260
split-complementary
#2B39B2 #B2602B #7CB22B
monochromatic
#13194F #1F2981 #2B39B2 #4856D3 #7983DF

Accessibility & contrast

On white

9.01
#2B39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39B2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B2#FFFFFF#000000##FFFFFF
##2B39B21.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b39b2;
/* rgb */ color: rgb(43, 57, 178);
/* oklch */ color: oklch(42.0% 0.190 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a70ca',
    500: '#2b39b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b2;
$custom-light: #7a70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b2",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 233.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.18958,
    "h": 270.3
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#2B39B2
secondary
#C7BE72
accent
#D444E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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