#2B34CA#2B34CA

#2B34CA is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.224 H 270.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2B34CA
RGBrgb(43, 52, 202)
HSLhsl(237, 65%, 48%)
HSVhsv(237, 79%, 79%)
CMYKcmyk(78.7%, 74.3%, 0%, 20.8%)
CIE-LABlab(32.33, 48.51, -77.47)
CIE-LCHlch(32.33, 91.40, 302.05°)
OKLaboklab(43.7% 0.0004 -0.2244)
OKLCHoklch(43.7% 0.224 270.1)
XYZxyz(12.8813, 7.2324, 56.5828)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B34CA #CAC12B
analogous
#2B83CA #2B34CA #722BCA
triadic
#2B34CA #CA2B34 #34CA2B
tetradic
#2B34CA #CA2B83 #CAC12B #2BCA72
square
#2B34CA #CA2B83 #CAC12B #2BCA72
split-complementary
#2B34CA #CA722B #83CA2B
monochromatic
#161A65 #202798 #2B34CA #575EDB #898FE6

Accessibility & contrast

On white

8.58
#2B34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B34CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B34CA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B34CA#FFFFFF#000000##FFFFFF
##2B34CA1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b34ca;
/* rgb */ color: rgb(43, 52, 202);
/* oklch */ color: oklch(43.7% 0.224 270.1);
Tailwind
colors: {
  custom: {
    50: '#806ddc',
    500: '#2b34ca',
    950: '#000000',
  },
}
SCSS
$custom: #2b34ca;
$custom-light: #806ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b34ca",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 236.604,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.22438,
    "h": 270.1
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#2B34CA
secondary
#D0CB81
accent
#DE40E8
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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