#2C35A9#2C35A9

#2C35A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.182 H 271.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2C35A9
RGBrgb(44, 53, 169)
HSLhsl(236, 59%, 42%)
HSVhsv(236, 74%, 66%)
CMYKcmyk(74%, 68.6%, 0%, 33.7%)
CIE-LABlab(29.27, 36.66, -62.97)
CIE-LCHlch(29.27, 72.86, 300.20°)
OKLaboklab(40.53% 0.0054 -0.1821)
OKLCHoklch(40.53% 0.182 271.7)
XYZxyz(9.4708, 5.9453, 38.1768)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35A9 #A9A02C
analogous
#2C74A9 #2C35A9 #622CA9
triadic
#2C35A9 #A92C35 #35A92C
tetradic
#2C35A9 #A92C74 #A9A02C #2CA962
square
#2C35A9 #A92C74 #A9A02C #2CA962
split-complementary
#2C35A9 #A9622C #74A92C
monochromatic
#131748 #1F2678 #2C35A9 #444ECE #747CDB

Accessibility & contrast

On white

9.59
#2C35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C35A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35A9
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35A9#FFFFFF#000000##FFFFFF
##2C35A91.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c35a9;
/* rgb */ color: rgb(44, 53, 169);
/* oklch */ color: oklch(40.5% 0.182 271.7);
Tailwind
colors: {
  custom: {
    50: '#786dc4',
    500: '#2c35a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c35a9;
$custom-light: #786dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35a9",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 235.68,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.18221,
    "h": 271.7
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#2C35A9
secondary
#C3BC6E
accent
#D746E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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