#2F34E2#2F34E2

#2F34E2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.251 H 270.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2F34E2
RGBrgb(47, 52, 226)
HSLhsl(238, 76%, 54%)
HSVhsv(238, 79%, 89%)
CMYKcmyk(79.2%, 77%, 0%, 11.4%)
CIE-LABlab(35.10, 56.52, -86.73)
CIE-LCHlch(35.10, 103.52, 303.09°)
OKLaboklab(46.47% 0.0004 -0.2512)
OKLCHoklch(46.47% 0.251 270.1)
XYZxyz(16.1231, 8.5494, 72.7372)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F34E2 #E2DD2F
analogous
#2F8DE2 #2F34E2 #832FE2
triadic
#2F34E2 #E22F34 #34E22F
tetradic
#2F34E2 #E22F8D #E2DD2F #2FE283
square
#2F34E2 #E22F8D #E2DD2F #2FE283
split-complementary
#2F34E2 #E2832F #8DE22F
monochromatic
#121684 #1A1EBA #2F34E2 #6568E9 #9A9DF1

Accessibility & contrast

On white

7.75
#2F34E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F34E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F34E2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F34E2#FFFFFF#000000##FFFFFF
##2F34E21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#0049DF
Tritanopia (blue-blind)
#00698A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f34e2;
/* rgb */ color: rgb(47, 52, 226);
/* oklch */ color: oklch(46.5% 0.251 270.1);
Tailwind
colors: {
  custom: {
    50: '#876eed',
    500: '#2f34e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f34e2;
$custom-light: #876eed;
$custom-dark: #000000;
JSON
{
  "hex": "#2f34e2",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 226
  },
  "hsl": {
    "h": 238.324,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.25118,
    "h": 270.1
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#2F34E2
secondary
#DDDB90
accent
#ED36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2F34E2

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

Preview Lab → · Contrast checker → · Palette generator →

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