#2F46C9#2F46C9

#2F46C9 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 46.6% C 0.203 H 268.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2F46C9
RGBrgb(47, 70, 201)
HSLhsl(231, 62%, 49%)
HSVhsv(231, 77%, 79%)
CMYKcmyk(76.6%, 65.2%, 0%, 21.2%)
CIE-LABlab(36.37, 37.72, -70.23)
CIE-LCHlch(36.37, 79.72, 298.24°)
OKLaboklab(46.64% -0.0039 -0.2032)
OKLCHoklch(46.64% 0.203 268.9)
XYZxyz(13.9014, 9.2002, 56.2902)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46C9 #C9B22F
analogous
#2F93C9 #2F46C9 #652FC9
triadic
#2F46C9 #C92F46 #46C92F
tetradic
#2F46C9 #C92F93 #C9B22F #2FC965
square
#2F46C9 #C92F93 #C9B22F #2FC965
split-complementary
#2F46C9 #C9652F #93C92F
monochromatic
#182366 #233597 #2F46C9 #5C6FD9 #8E9BE5

Accessibility & contrast

On white

7.39
#2F46C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F46C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46C9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46C9#FFFFFF#000000##FFFFFF
##2F46C91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f46c9;
/* rgb */ color: rgb(47, 70, 201);
/* oklch */ color: oklch(46.6% 0.203 268.9);
Tailwind
colors: {
  custom: {
    50: '#8079db',
    500: '#2f46c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f46c9;
$custom-light: #8079db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46c9",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 201
  },
  "hsl": {
    "h": 231.039,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46639,
    "c": 0.20325,
    "h": 268.9
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#2F46C9
secondary
#CFC485
accent
#CD43E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2F46C9

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

Preview Lab → · Contrast checker → · Palette generator →

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