#2C35AA#2C35AA

#2C35AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.184 H 271.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2C35AA
RGBrgb(44, 53, 170)
HSLhsl(236, 59%, 42%)
HSVhsv(236, 74%, 67%)
CMYKcmyk(74.1%, 68.8%, 0%, 33.3%)
CIE-LABlab(29.37, 37.01, -63.41)
CIE-LCHlch(29.37, 73.43, 300.27°)
OKLaboklab(40.63% 0.0053 -0.1834)
OKLCHoklch(40.63% 0.184 271.6)
XYZxyz(9.5651, 5.9830, 38.6731)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35AA #AAA12C
analogous
#2C74AA #2C35AA #622CAA
triadic
#2C35AA #AA2C35 #35AA2C
tetradic
#2C35AA #AA2C74 #AAA12C #2CAA62
square
#2C35AA #AA2C74 #AAA12C #2CAA62
split-complementary
#2C35AA #AA622C #74AA2C
monochromatic
#131749 #1F2679 #2C35AA #444ECF #757CDB

Accessibility & contrast

On white

9.56
#2C35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35AA
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35AA#FFFFFF#000000##FFFFFF
##2C35AA1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c35aa;
/* rgb */ color: rgb(44, 53, 170);
/* oklch */ color: oklch(40.6% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2c35aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c35aa;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35aa",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 235.714,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.18351,
    "h": 271.6
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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