#2C35AF#2C35AF

#2C35AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.190 H 271.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2C35AF
RGBrgb(44, 53, 175)
HSLhsl(236, 60%, 43%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(74.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(29.85, 38.78, -65.62)
CIE-LCHlch(29.85, 76.22, 300.58°)
OKLaboklab(41.12% 0.0047 -0.1899)
OKLCHoklch(41.12% 0.19 271.4)
XYZxyz(10.0471, 6.1758, 41.2117)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C35AF #AFA62C
analogous
#2C76AF #2C35AF #642CAF
triadic
#2C35AF #AF2C35 #35AF2C
tetradic
#2C35AF #AF2C76 #AFA62C #2CAF64
square
#2C35AF #AF2C76 #AFA62C #2CAF64
split-complementary
#2C35AF #AF642C #76AF2C
monochromatic
#13174D #20267E #2C35AF #4751D1 #787FDD

Accessibility & contrast

On white

9.39
#2C35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C35AF
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C35AF#FFFFFF#000000##FFFFFF
##2C35AF1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c35af;
/* rgb */ color: rgb(44, 53, 175);
/* oklch */ color: oklch(41.1% 0.190 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a6dc8',
    500: '#2c35af',
    950: '#000000',
  },
}
SCSS
$custom: #2c35af;
$custom-light: #7a6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c35af",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 235.878,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41123,
    "c": 0.18992,
    "h": 271.4
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#2C35AF
secondary
#C5BF72
accent
#D845E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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