#2B34C0#2B34C0

#2B34C0 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.6% C 0.212 H 270.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2B34C0
RGBrgb(43, 52, 192)
HSLhsl(236, 63%, 46%)
HSVhsv(236, 78%, 75%)
CMYKcmyk(77.6%, 72.9%, 0%, 24.7%)
CIE-LABlab(31.29, 45.15, -73.33)
CIE-LCHlch(31.29, 86.12, 301.62°)
OKLaboklab(42.65% 0.0019 -0.2124)
OKLCHoklch(42.65% 0.212 270.5)
XYZxyz(11.7354, 6.7740, 50.5480)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34C0 #C0B72B
analogous
#2B7EC0 #2B34C0 #6C2BC0
triadic
#2B34C0 #C02B34 #34C02B
tetradic
#2B34C0 #C02B7E #C0B72B #2BC06C
square
#2B34C0 #C02B7E #C0B72B #2BC06C
split-complementary
#2B34C0 #C06C2B #7EC02B
monochromatic
#15195C #20268E #2B34C0 #5059D8 #8288E3

Accessibility & contrast

On white

8.92
#2B34C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B34C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34C0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34C0#FFFFFF#000000##FFFFFF
##2B34C01.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0042BE
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b34c0;
/* rgb */ color: rgb(43, 52, 192);
/* oklch */ color: oklch(42.6% 0.212 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dd4',
    500: '#2b34c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b34c0;
$custom-light: #7e6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34c0",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 236.376,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.21237,
    "h": 270.5
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#2B34C0
secondary
#CCC77B
accent
#DC41E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2B34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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