#2F36E2#2F36E2

#2F36E2 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.249 H 270.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2F36E2
RGBrgb(47, 54, 226)
HSLhsl(238, 76%, 54%)
HSVhsv(238, 79%, 89%)
CMYKcmyk(79.2%, 76.1%, 0%, 11.4%)
CIE-LABlab(35.46, 55.48, -86.13)
CIE-LCHlch(35.46, 102.45, 302.79°)
OKLaboklab(46.73% -0.0001 -0.2495)
OKLCHoklch(46.73% 0.249 270)
XYZxyz(16.2142, 8.7318, 72.7676)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36E2 #E2DB2F
analogous
#2F8FE2 #2F36E2 #822FE2
triadic
#2F36E2 #E22F36 #36E22F
tetradic
#2F36E2 #E22F8F #E2DB2F #2FE282
square
#2F36E2 #E22F8F #E2DB2F #2FE282
split-complementary
#2F36E2 #E2822F #8FE22F
monochromatic
#121784 #1A20BA #2F36E2 #656AE9 #9A9EF1

Accessibility & contrast

On white

7.65
#2F36E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2F36E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36E2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36E2#FFFFFF#000000##FFFFFF
##2F36E21.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f36e2;
/* rgb */ color: rgb(47, 54, 226);
/* oklch */ color: oklch(46.7% 0.249 270.0);
Tailwind
colors: {
  custom: {
    50: '#8770ed',
    500: '#2f36e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f36e2;
$custom-light: #8770ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36e2",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 226
  },
  "hsl": {
    "h": 237.654,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.24948,
    "h": 270
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#2F36E2
secondary
#DDDA90
accent
#EB36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #2F36E2

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

Preview Lab → · Contrast checker → · Palette generator →

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