#2F46BC#2F46BC

#2F46BC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.186 H 269.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2F46BC
RGBrgb(47, 70, 188)
HSLhsl(230, 60%, 46%)
HSVhsv(230, 75%, 74%)
CMYKcmyk(75%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.23, 33.02, -64.49)
CIE-LCHlch(35.23, 72.45, 297.11°)
OKLaboklab(45.46% -0.0034 -0.1864)
OKLCHoklch(45.46% 0.186 269)
XYZxyz(12.4364, 8.6142, 48.5745)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46BC #BCA52F
analogous
#2F8CBC #2F46BC #5E2FBC
triadic
#2F46BC #BC2F46 #46BC2F
tetradic
#2F46BC #BC2F8C #BCA52F #2FBC5E
square
#2F46BC #BC2F8C #BCA52F #2FBC5E
split-complementary
#2F46BC #BC5E2F #8CBC2F
monochromatic
#17225A #23348B #2F46BC #5469D4 #8594E0

Accessibility & contrast

On white

7.71
#2F46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46BC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46BC#FFFFFF#000000##FFFFFF
##2F46BC1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f46bc;
/* rgb */ color: rgb(47, 70, 188);
/* oklch */ color: oklch(45.5% 0.186 269.0);
Tailwind
colors: {
  custom: {
    50: '#7d79d1',
    500: '#2f46bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f46bc;
$custom-light: #7d79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46bc",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 230.213,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.18644,
    "h": 269
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#2F46BC
secondary
#CABD7D
accent
#C945E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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