#2C35B8#2C35B8

#2C35B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.201 H 271.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2C35B8
RGBrgb(44, 53, 184)
HSLhsl(236, 61%, 45%)
HSVhsv(236, 76%, 72%)
CMYKcmyk(76.1%, 71.2%, 0%, 27.8%)
CIE-LABlab(30.74, 41.91, -69.51)
CIE-LCHlch(30.74, 81.17, 301.09°)
OKLaboklab(42.03% 0.0036 -0.2012)
OKLCHoklch(42.03% 0.201 271)
XYZxyz(10.9606, 6.5412, 46.0230)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35B8 #B8AF2C
analogous
#2C7BB8 #2C35B8 #692CB8
triadic
#2C35B8 #B82C35 #35B82C
tetradic
#2C35B8 #B82C7B #B8AF2C #2CB869
square
#2C35B8 #B82C7B #B8AF2C #2CB869
split-complementary
#2C35B8 #B8692C #7BB82C
monochromatic
#141955 #202787 #2C35B8 #4D56D4 #7E84E0

Accessibility & contrast

On white

9.10
#2C35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35B8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35B8#FFFFFF#000000##FFFFFF
##2C35B81.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c35b8;
/* rgb */ color: rgb(44, 53, 184);
/* oklch */ color: oklch(42.0% 0.201 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c6dcf',
    500: '#2c35b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c35b8;
$custom-light: #7c6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35b8",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 236.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.20125,
    "h": 271
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#2C35B8
secondary
#C9C477
accent
#DA43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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