#2B39B8#2B39B8

#2B39B8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.197 H 270.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2B39B8
RGBrgb(43, 57, 184)
HSLhsl(234, 62%, 45%)
HSVhsv(234, 77%, 72%)
CMYKcmyk(76.6%, 69%, 0%, 27.8%)
CIE-LABlab(31.58, 39.39, -68.13)
CIE-LCHlch(31.58, 78.70, 300.03°)
OKLaboklab(42.62% 0.0006 -0.1972)
OKLCHoklch(42.62% 0.197 270.2)
XYZxyz(11.1082, 6.8993, 46.0844)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B8 #B8AA2B
analogous
#2B7FB8 #2B39B8 #642BB8
triadic
#2B39B8 #B82B39 #39B82B
tetradic
#2B39B8 #B82B7F #B8AA2B #2BB864
square
#2B39B8 #B82B7F #B8AA2B #2BB864
split-complementary
#2B39B8 #B8642B #7FB82B
monochromatic
#141A55 #1F2A86 #2B39B8 #4B59D5 #7D87E1

Accessibility & contrast

On white

8.82
#2B39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39B8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B8#FFFFFF#000000##FFFFFF
##2B39B81.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b39b8;
/* rgb */ color: rgb(43, 57, 184);
/* oklch */ color: oklch(42.6% 0.197 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2b39b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b8;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b8",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 234.043,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.19722,
    "h": 270.2
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#2B39B8
secondary
#C9C176
accent
#D543E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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