#2C34BF#2C34BF

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

Color values

HEX#2C34BF
RGBrgb(44, 52, 191)
HSLhsl(237, 63%, 46%)
HSVhsv(237, 77%, 75%)
CMYKcmyk(77%, 72.8%, 0%, 25.1%)
CIE-LABlab(31.24, 44.89, -72.83)
CIE-LCHlch(31.24, 85.55, 301.65°)
OKLaboklab(42.6% 0.0031 -0.2109)
OKLCHoklch(42.6% 0.211 270.8)
XYZxyz(11.6675, 6.7518, 49.9684)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34BF #BFB72C
analogous
#2C7DBF #2C34BF #6D2CBF
triadic
#2C34BF #BF2C34 #34BF2C
tetradic
#2C34BF #BF2C7D #BFB72C #2CBF6D
square
#2C34BF #BF2C7D #BFB72C #2CBF6D
split-complementary
#2C34BF #BF6D2C #7DBF2C
monochromatic
#15195C #21268D #2C34BF #5159D7 #8388E2

Accessibility & contrast

On white

8.93
#2C34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C34BF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34BF#FFFFFF#000000##FFFFFF
##2C34BF1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.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: #2c34bf;
/* rgb */ color: rgb(44, 52, 191);
/* oklch */ color: oklch(42.6% 0.211 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e6dd4',
    500: '#2c34bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c34bf;
$custom-light: #7e6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34bf",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 236.735,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.21089,
    "h": 270.8
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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