#2B39A2#2B39A2

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

Color values

HEX#2B39A2
RGBrgb(43, 57, 162)
HSLhsl(233, 58%, 40%)
HSVhsv(233, 73%, 64%)
CMYKcmyk(73.5%, 64.8%, 0%, 36.5%)
CIE-LABlab(29.53, 31.46, -58.33)
CIE-LCHlch(29.53, 66.27, 298.34°)
OKLaboklab(40.51% 0.0023 -0.1686)
OKLCHoklch(40.51% 0.169 270.8)
XYZxyz(8.9788, 6.0476, 34.8695)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39A2 #A2942B
analogous
#2B75A2 #2B39A2 #582BA2
triadic
#2B39A2 #A22B39 #39A22B
tetradic
#2B39A2 #A22B75 #A2942B #2BA258
square
#2B39A2 #A22B75 #A2942B #2BA258
split-complementary
#2B39A2 #A2582B #75A22B
monochromatic
#111741 #1E2872 #2B39A2 #3E4FCC #6F7BD9

Accessibility & contrast

On white

9.50
#2B39A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B39A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39A2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39A2#FFFFFF#000000##FFFFFF
##2B39A21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b39a2;
/* rgb */ color: rgb(43, 57, 162);
/* oklch */ color: oklch(40.5% 0.169 270.8);
Tailwind
colors: {
  custom: {
    50: '#766fbe',
    500: '#2b39a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b39a2;
$custom-light: #766fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39a2",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 232.941,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.16858,
    "h": 270.8
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#2B39A2
secondary
#C0B669
accent
#CF47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B39A2

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

Preview Lab → · Contrast checker → · Palette generator →

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