#2B39B0#2B39B0

#2B39B0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.187 H 270.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2B39B0
RGBrgb(43, 57, 176)
HSLhsl(234, 61%, 43%)
HSVhsv(234, 76%, 69%)
CMYKcmyk(75.6%, 67.6%, 0%, 31%)
CIE-LABlab(30.82, 36.54, -64.63)
CIE-LCHlch(30.82, 74.25, 299.48°)
OKLaboklab(41.84% 0.0013 -0.187)
OKLCHoklch(41.84% 0.187 270.4)
XYZxyz(10.2932, 6.5733, 41.7922)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B39B0 #B0A22B
analogous
#2B7CB0 #2B39B0 #5F2BB0
triadic
#2B39B0 #B02B39 #39B02B
tetradic
#2B39B0 #B02B7C #B0A22B #2BB05F
square
#2B39B0 #B02B7C #B0A22B #2BB05F
split-complementary
#2B39B0 #B05F2B #7CB02B
monochromatic
#13194E #1F297F #2B39B0 #4655D2 #7882DE

Accessibility & contrast

On white

9.07
#2B39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B39B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B39B0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B39B0#FFFFFF#000000##FFFFFF
##2B39B01.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b39b0;
/* rgb */ color: rgb(43, 57, 176);
/* oklch */ color: oklch(41.8% 0.187 270.4);
Tailwind
colors: {
  custom: {
    50: '#796fc9',
    500: '#2b39b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b39b0;
$custom-light: #796fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b39b0",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 233.684,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.187,
    "h": 270.4
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#2B39B0
secondary
#C6BD71
accent
#D344E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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