#2F35E2#2F35E2

#2F35E2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.6% C 0.250 H 270.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2F35E2
RGBrgb(47, 53, 226)
HSLhsl(238, 76%, 54%)
HSVhsv(238, 79%, 89%)
CMYKcmyk(79.2%, 76.5%, 0%, 11.4%)
CIE-LABlab(35.28, 56.00, -86.43)
CIE-LCHlch(35.28, 102.99, 302.94°)
OKLaboklab(46.6% 0.0002 -0.2503)
OKLCHoklch(46.6% 0.25 270)
XYZxyz(16.1682, 8.6397, 72.7523)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35E2 #E2DC2F
analogous
#2F8EE2 #2F35E2 #822FE2
triadic
#2F35E2 #E22F35 #35E22F
tetradic
#2F35E2 #E22F8E #E2DC2F #2FE282
square
#2F35E2 #E22F8E #E2DC2F #2FE282
split-complementary
#2F35E2 #E2822F #8EE22F
monochromatic
#121684 #1A1FBA #2F35E2 #6569E9 #9A9DF1

Accessibility & contrast

On white

7.70
#2F35E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F35E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35E2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35E2#FFFFFF#000000##FFFFFF
##2F35E21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f35e2;
/* rgb */ color: rgb(47, 53, 226);
/* oklch */ color: oklch(46.6% 0.250 270.0);
Tailwind
colors: {
  custom: {
    50: '#876fed',
    500: '#2f35e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f35e2;
$custom-light: #876fed;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35e2",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 226
  },
  "hsl": {
    "h": 237.989,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.25034,
    "h": 270
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#2F35E2
secondary
#DDDA90
accent
#EC36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2F35E2

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

Preview Lab → · Contrast checker → · Palette generator →

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