#2F35CA#2F35CA

#2F35CA is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.222 H 271.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2F35CA
RGBrgb(47, 53, 202)
HSLhsl(238, 62%, 49%)
HSVhsv(238, 77%, 79%)
CMYKcmyk(76.7%, 73.8%, 0%, 20.8%)
CIE-LABlab(32.73, 48.25, -76.80)
CIE-LCHlch(32.73, 90.70, 302.14°)
OKLaboklab(44.04% 0.0042 -0.2224)
OKLCHoklch(44.04% 0.222 271.1)
XYZxyz(13.1024, 7.4134, 56.6060)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35CA #CAC42F
analogous
#2F83CA #2F35CA #772FCA
triadic
#2F35CA #CA2F35 #35CA2F
tetradic
#2F35CA #CA2F83 #CAC42F #2FCA77
square
#2F35CA #CA2F83 #CAC42F #2FCA77
split-complementary
#2F35CA #CA772F #83CA2F
monochromatic
#181B67 #232898 #2F35CA #5D62D9 #8F92E5

Accessibility & contrast

On white

8.46
#2F35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F35CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35CA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35CA#FFFFFF#000000##FFFFFF
##2F35CA1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f35ca;
/* rgb */ color: rgb(47, 53, 202);
/* oklch */ color: oklch(44.0% 0.222 271.1);
Tailwind
colors: {
  custom: {
    50: '#816edc',
    500: '#2f35ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f35ca;
$custom-light: #816edc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35ca",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 237.677,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.22241,
    "h": 271.1
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#2F35CA
secondary
#CFCC86
accent
#DF42E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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