#2F46FF#2F46FF

#2F46FF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.9% C 0.268 H 268.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2F46FF
RGBrgb(47, 70, 255)
HSLhsl(233, 100%, 59%)
HSVhsv(233, 82%, 100%)
CMYKcmyk(81.6%, 72.5%, 0%, 0%)
CIE-LABlab(41.54, 56.21, -92.46)
CIE-LCHlch(41.54, 108.20, 301.30°)
OKLaboklab(51.93% -0.0089 -0.268)
OKLCHoklch(51.93% 0.268 268.1)
XYZxyz(21.4062, 12.2021, 95.8154)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46FF #FFE82F
analogous
#2FAEFF #2F46FF #802FFF
triadic
#2F46FF #FF2F46 #46FF2F
tetradic
#2F46FF #FF2FAE #FFE82F #2FFF80
square
#2F46FF #FF2FAE #FFE82F #2FFF80
split-complementary
#2F46FF #FF802F #AEFF2F
monochromatic
#0014B4 #001BF1 #2F46FF #6C7CFF #A9B3FF

Accessibility & contrast

On white

6.10
#2F46FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2F46FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F46FF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46FF#FFFFFF#000000##FFFFFF
##2F46FF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0058FC
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f46ff;
/* rgb */ color: rgb(47, 70, 255);
/* oklch */ color: oklch(51.9% 0.268 268.1);
Tailwind
colors: {
  custom: {
    50: '#8d7bff',
    500: '#2f46ff',
    950: '#000000',
  },
}
SCSS
$custom: #2f46ff;
$custom-light: #8d7bff;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46ff",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 233.365,
    "s": 100,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.26812,
    "h": 268.1
  },
  "luminance": 0.12205
}

Semantic roles & 50–950 ramp

primary
#2F46FF
secondary
#EEE59C
accent
#E729FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0918
muted
#7E7B86

Preview Lab

Preview with #2F46FF

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

Preview Lab → · Contrast checker → · Palette generator →

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