#2B34BF#2B34BF

#2B34BF is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.5% C 0.211 H 270.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B34BF
RGBrgb(43, 52, 191)
HSLhsl(236, 63%, 46%)
HSVhsv(236, 77%, 75%)
CMYKcmyk(77.5%, 72.8%, 0%, 25.1%)
CIE-LABlab(31.18, 44.81, -72.91)
CIE-LCHlch(31.18, 85.58, 301.57°)
OKLaboklab(42.55% 0.0021 -0.2111)
OKLCHoklch(42.55% 0.211 270.6)
XYZxyz(11.6250, 6.7299, 49.9664)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34BF #BFB62B
analogous
#2B7EBF #2B34BF #6C2BBF
triadic
#2B34BF #BF2B34 #34BF2B
tetradic
#2B34BF #BF2B7E #BFB62B #2BBF6C
square
#2B34BF #BF2B7E #BFB62B #2BBF6C
split-complementary
#2B34BF #BF6C2B #7EBF2B
monochromatic
#15195B #20268D #2B34BF #5058D8 #8288E3

Accessibility & contrast

On white

8.95
#2B34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34BF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34BF#FFFFFF#000000##FFFFFF
##2B34BF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0042BD
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b34bf;
/* rgb */ color: rgb(43, 52, 191);
/* oklch */ color: oklch(42.5% 0.211 270.6);
Tailwind
colors: {
  custom: {
    50: '#7e6dd4',
    500: '#2b34bf',
    950: '#000000',
  },
}
SCSS
$custom: #2b34bf;
$custom-light: #7e6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34bf",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 236.351,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.21115,
    "h": 270.6
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#2B34BF
secondary
#CCC77A
accent
#DC42E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2B34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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