#2C34BD#2C34BD

#2C34BD is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.4% C 0.208 H 270.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2C34BD
RGBrgb(44, 52, 189)
HSLhsl(237, 62%, 46%)
HSVhsv(237, 77%, 74%)
CMYKcmyk(76.7%, 72.5%, 0%, 25.9%)
CIE-LABlab(31.03, 44.22, -71.99)
CIE-LCHlch(31.03, 84.48, 301.56°)
OKLaboklab(42.39% 0.0034 -0.2084)
OKLCHoklch(42.39% 0.208 270.9)
XYZxyz(11.4489, 6.6643, 48.8172)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C34BD #BDB52C
analogous
#2C7CBD #2C34BD #6D2CBD
triadic
#2C34BD #BD2C34 #34BD2C
tetradic
#2C34BD #BD2C7C #BDB52C #2CBD6D
square
#2C34BD #BD2C7C #BDB52C #2CBD6D
split-complementary
#2C34BD #BD6D2C #7CBD2C
monochromatic
#15195A #20268B #2C34BD #5057D6 #8287E2

Accessibility & contrast

On white

9.00
#2C34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C34BD
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C34BD#FFFFFF#000000##FFFFFF
##2C34BD1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0042BB
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c34bd;
/* rgb */ color: rgb(44, 52, 189);
/* oklch */ color: oklch(42.4% 0.208 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d6dd2',
    500: '#2c34bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c34bd;
$custom-light: #7d6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c34bd",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 236.69,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.20846,
    "h": 270.9
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#2C34BD
secondary
#CBC67A
accent
#DC42E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2C34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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