#2F46B0#2F46B0

#2F46B0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.170 H 268.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2F46B0
RGBrgb(47, 70, 176)
HSLhsl(229, 58%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(73.3%, 60.2%, 0%, 31%)
CIE-LABlab(34.23, 28.60, -59.04)
CIE-LCHlch(34.23, 65.60, 295.85°)
OKLaboklab(44.4% -0.0032 -0.1704)
OKLCHoklch(44.4% 0.17 268.9)
XYZxyz(11.1962, 8.1181, 42.0428)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46B0 #B0992F
analogous
#2F86B0 #2F46B0 #582FB0
triadic
#2F46B0 #B02F46 #46B02F
tetradic
#2F46B0 #B02F86 #B0992F #2FB058
square
#2F46B0 #B02F86 #B0992F #2FB058
split-complementary
#2F46B0 #B0582F #86B02F
monochromatic
#15204F #223380 #2F46B0 #4D64CF #7D8EDC

Accessibility & contrast

On white

8.00
#2F46B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F46B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46B0
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46B0#FFFFFF#000000##FFFFFF
##2F46B01.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f46b0;
/* rgb */ color: rgb(47, 70, 176);
/* oklch */ color: oklch(44.4% 0.170 268.9);
Tailwind
colors: {
  custom: {
    50: '#7a79c8',
    500: '#2f46b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f46b0;
$custom-light: #7a79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46b0",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 176
  },
  "hsl": {
    "h": 229.302,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.17045,
    "h": 268.9
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#2F46B0
secondary
#C5B776
accent
#C647E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2F46B0

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

Preview Lab → · Contrast checker → · Palette generator →

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