#2B39A8#2B39A8

#2B39A8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.177 H 270.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2B39A8
RGBrgb(43, 57, 168)
HSLhsl(233, 59%, 41%)
HSVhsv(233, 74%, 66%)
CMYKcmyk(74.4%, 66.1%, 0%, 34.1%)
CIE-LABlab(30.07, 33.65, -61.06)
CIE-LCHlch(30.07, 69.72, 298.86°)
OKLaboklab(41.07% 0.002 -0.1766)
OKLCHoklch(41.07% 0.177 270.6)
XYZxyz(9.5249, 6.2660, 37.7457)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A8 #A89A2B
analogous
#2B78A8 #2B39A8 #5C2BA8
triadic
#2B39A8 #A82B39 #39A82B
tetradic
#2B39A8 #A82B78 #A89A2B #2BA85C
square
#2B39A8 #A82B78 #A89A2B #2BA85C
split-complementary
#2B39A8 #A85C2B #78A82B
monochromatic
#121847 #1F2877 #2B39A8 #4251CF #727EDB

Accessibility & contrast

On white

9.32
#2B39A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B39A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39A8
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A8#FFFFFF#000000##FFFFFF
##2B39A81.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b39a8;
/* rgb */ color: rgb(43, 57, 168);
/* oklch */ color: oklch(41.1% 0.177 270.6);
Tailwind
colors: {
  custom: {
    50: '#786fc3',
    500: '#2b39a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a8;
$custom-light: #786fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a8",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 233.28,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.17656,
    "h": 270.6
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#2B39A8
secondary
#C2B96C
accent
#D145E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B39A8

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

Preview Lab → · Contrast checker → · Palette generator →

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