#2C35BF#2C35BF

#2C35BF is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.210 H 270.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2C35BF
RGBrgb(44, 53, 191)
HSLhsl(236, 63%, 46%)
HSVhsv(236, 77%, 75%)
CMYKcmyk(77%, 72.3%, 0%, 25.1%)
CIE-LABlab(31.44, 44.31, -72.48)
CIE-LCHlch(31.44, 84.95, 301.44°)
OKLaboklab(42.75% 0.0027 -0.2099)
OKLCHoklch(42.75% 0.21 270.7)
XYZxyz(11.7126, 6.8420, 49.9835)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35BF #BFB62C
analogous
#2C7EBF #2C35BF #6D2CBF
triadic
#2C35BF #BF2C35 #35BF2C
tetradic
#2C35BF #BF2C7E #BFB62C #2CBF6D
square
#2C35BF #BF2C7E #BFB62C #2CBF6D
split-complementary
#2C35BF #BF6D2C #7EBF2C
monochromatic
#15195C #21278D #2C35BF #5159D7 #8389E2

Accessibility & contrast

On white

8.87
#2C35BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C35BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35BF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35BF#FFFFFF#000000##FFFFFF
##2C35BF1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0043BD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c35bf;
/* rgb */ color: rgb(44, 53, 191);
/* oklch */ color: oklch(42.7% 0.210 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e6dd4',
    500: '#2c35bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c35bf;
$custom-light: #7e6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35bf",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 236.327,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.20989,
    "h": 270.7
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#2C35BF
secondary
#CCC77B
accent
#DC42E6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2C35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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