#2B39B5#2B39B5

#2B39B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.193 H 270.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2B39B5
RGBrgb(43, 57, 181)
HSLhsl(234, 62%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(76.2%, 68.5%, 0%, 29%)
CIE-LABlab(31.29, 38.32, -66.83)
CIE-LCHlch(31.29, 77.04, 299.83°)
OKLaboklab(42.32% 0.0009 -0.1934)
OKLCHoklch(42.32% 0.193 270.3)
XYZxyz(10.7970, 6.7749, 44.4457)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B5 #B5A72B
analogous
#2B7EB5 #2B39B5 #622BB5
triadic
#2B39B5 #B52B39 #39B52B
tetradic
#2B39B5 #B52B7E #B5A72B #2BB562
square
#2B39B5 #B52B7E #B5A72B #2BB562
split-complementary
#2B39B5 #B5622B #7EB52B
monochromatic
#141A52 #1F2984 #2B39B5 #4957D4 #7B85E0

Accessibility & contrast

On white

8.92
#2B39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B39B5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B5#FFFFFF#000000##FFFFFF
##2B39B51.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b39b5;
/* rgb */ color: rgb(43, 57, 181);
/* oklch */ color: oklch(42.3% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b70cc',
    500: '#2b39b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b5;
$custom-light: #7b70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b5",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 233.913,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.19341,
    "h": 270.3
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#2B39B5
secondary
#C8BF74
accent
#D443E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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