#2B39A9#2B39A9

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

Color values

HEX#2B39A9
RGBrgb(43, 57, 169)
HSLhsl(233, 59%, 42%)
HSVhsv(233, 75%, 66%)
CMYKcmyk(74.6%, 66.3%, 0%, 33.7%)
CIE-LABlab(30.17, 34.01, -61.51)
CIE-LCHlch(30.17, 70.29, 298.94°)
OKLaboklab(41.16% 0.0019 -0.1779)
OKLCHoklch(41.16% 0.178 270.6)
XYZxyz(9.6184, 6.3034, 38.2382)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A9 #A99B2B
analogous
#2B78A9 #2B39A9 #5C2BA9
triadic
#2B39A9 #A92B39 #39A92B
tetradic
#2B39A9 #A92B78 #A99B2B #2BA95C
square
#2B39A9 #A92B78 #A99B2B #2BA95C
split-complementary
#2B39A9 #A95C2B #78A92B
monochromatic
#121847 #1F2978 #2B39A9 #4252CF #737FDB

Accessibility & contrast

On white

9.29
#2B39A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B39A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39A9
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A9#FFFFFF#000000##FFFFFF
##2B39A91.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b39a9;
/* rgb */ color: rgb(43, 57, 169);
/* oklch */ color: oklch(41.2% 0.178 270.6);
Tailwind
colors: {
  custom: {
    50: '#786fc4',
    500: '#2b39a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a9;
$custom-light: #786fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a9",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 233.333,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.17788,
    "h": 270.6
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#2B39A9
secondary
#C3B96D
accent
#D145E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B39A9

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

Preview Lab → · Contrast checker → · Palette generator →

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