#2B39B3#2B39B3

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

Color values

HEX#2B39B3
RGBrgb(43, 57, 179)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 76%, 70%)
CMYKcmyk(76%, 68.2%, 0%, 29.8%)
CIE-LABlab(31.10, 37.61, -65.95)
CIE-LCHlch(31.10, 75.92, 299.69°)
OKLaboklab(42.13% 0.0011 -0.1909)
OKLCHoklch(42.13% 0.191 270.3)
XYZxyz(10.5933, 6.6934, 43.3727)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B3 #B3A52B
analogous
#2B7DB3 #2B39B3 #612BB3
triadic
#2B39B3 #B32B39 #39B32B
tetradic
#2B39B3 #B32B7D #B3A52B #2BB361
square
#2B39B3 #B32B7D #B3A52B #2BB361
split-complementary
#2B39B3 #B3612B #7DB32B
monochromatic
#131A50 #1F2982 #2B39B3 #4856D3 #7984DF

Accessibility & contrast

On white

8.98
#2B39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39B3
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B3#FFFFFF#000000##FFFFFF
##2B39B31.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b39b3;
/* rgb */ color: rgb(43, 57, 179);
/* oklch */ color: oklch(42.1% 0.191 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a70cb',
    500: '#2b39b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b3;
$custom-light: #7a70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b3",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 233.824,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.19086,
    "h": 270.3
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#2B39B3
secondary
#C7BE73
accent
#D443E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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