#2B39A0#2B39A0

#2B39A0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.166 H 270.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B39A0
RGBrgb(43, 57, 160)
HSLhsl(233, 58%, 40%)
HSVhsv(233, 73%, 63%)
CMYKcmyk(73.1%, 64.4%, 0%, 37.3%)
CIE-LABlab(29.35, 30.72, -57.41)
CIE-LCHlch(29.35, 65.11, 298.15°)
OKLaboklab(40.32% 0.0024 -0.1659)
OKLCHoklch(40.32% 0.166 270.8)
XYZxyz(8.8024, 5.9770, 33.9407)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A0 #A0922B
analogous
#2B73A0 #2B39A0 #582BA0
triadic
#2B39A0 #A02B39 #39A02B
tetradic
#2B39A0 #A02B73 #A0922B #2BA058
square
#2B39A0 #A02B73 #A0922B #2BA058
split-complementary
#2B39A0 #A0582B #73A02B
monochromatic
#111740 #1E2870 #2B39A0 #3D4ECB #6E7AD8

Accessibility & contrast

On white

9.56
#2B39A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B39A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39A0
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A0#FFFFFF#000000##FFFFFF
##2B39A01.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b39a0;
/* rgb */ color: rgb(43, 57, 160);
/* oklch */ color: oklch(40.3% 0.166 270.8);
Tailwind
colors: {
  custom: {
    50: '#766fbd',
    500: '#2b39a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a0;
$custom-light: #766fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a0",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 232.821,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40321,
    "c": 0.16589,
    "h": 270.8
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#2B39A0
secondary
#BFB468
accent
#CE47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B39A0

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

Preview Lab → · Contrast checker → · Palette generator →

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