#2F36CA#2F36CA

#2F36CA is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.221 H 271.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2F36CA
RGBrgb(47, 54, 202)
HSLhsl(237, 62%, 49%)
HSVhsv(237, 77%, 79%)
CMYKcmyk(76.7%, 73.3%, 0%, 20.8%)
CIE-LABlab(32.93, 47.68, -76.47)
CIE-LCHlch(32.93, 90.12, 301.95°)
OKLaboklab(44.19% 0.0037 -0.2214)
OKLCHoklch(44.19% 0.221 271)
XYZxyz(13.1485, 7.5055, 56.6214)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36CA #CAC32F
analogous
#2F84CA #2F36CA #762FCA
triadic
#2F36CA #CA2F36 #36CA2F
tetradic
#2F36CA #CA2F84 #CAC32F #2FCA76
square
#2F36CA #CA2F84 #CAC32F #2FCA76
split-complementary
#2F36CA #CA762F #84CA2F
monochromatic
#181B67 #232998 #2F36CA #5D63D9 #8F92E5

Accessibility & contrast

On white

8.40
#2F36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F36CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36CA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36CA#FFFFFF#000000##FFFFFF
##2F36CA1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f36ca;
/* rgb */ color: rgb(47, 54, 202);
/* oklch */ color: oklch(44.2% 0.221 271.0);
Tailwind
colors: {
  custom: {
    50: '#816fdb',
    500: '#2f36ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f36ca;
$custom-light: #816fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36ca",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 237.29,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.22144,
    "h": 271
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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