#2F36BC#2F36BC

#2F36BC is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.7% C 0.204 H 271.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2F36BC
RGBrgb(47, 54, 188)
HSLhsl(237, 60%, 46%)
HSVhsv(237, 75%, 74%)
CMYKcmyk(75%, 71.3%, 0%, 26.3%)
CIE-LABlab(31.51, 42.96, -70.59)
CIE-LCHlch(31.51, 82.64, 301.33°)
OKLaboklab(42.75% 0.0058 -0.2043)
OKLCHoklch(42.75% 0.204 271.6)
XYZxyz(11.5655, 6.8723, 48.2842)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36BC #BCB52F
analogous
#2F7CBC #2F36BC #6E2FBC
triadic
#2F36BC #BC2F36 #36BC2F
tetradic
#2F36BC #BC2F7C #BCB52F #2FBC6E
square
#2F36BC #BC2F7C #BCB52F #2FBC6E
split-complementary
#2F36BC #BC6E2F #7CBC2F
monochromatic
#171A5A #23288B #2F36BC #545AD4 #8589E0

Accessibility & contrast

On white

8.84
#2F36BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F36BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36BC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36BC#FFFFFF#000000##FFFFFF
##2F36BC1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f36bc;
/* rgb */ color: rgb(47, 54, 188);
/* oklch */ color: oklch(42.7% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e6ed1',
    500: '#2f36bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f36bc;
$custom-light: #7e6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36bc",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 237.021,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.20439,
    "h": 271.6
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#2F36BC
secondary
#CAC67D
accent
#DB45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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