#2F46AE#2F46AE

#2F46AE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.168 H 268.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2F46AE
RGBrgb(47, 70, 174)
HSLhsl(229, 57%, 43%)
HSVhsv(229, 73%, 68%)
CMYKcmyk(73%, 59.8%, 0%, 31.8%)
CIE-LABlab(34.06, 27.86, -58.11)
CIE-LCHlch(34.06, 64.45, 295.62°)
OKLaboklab(44.23% -0.0032 -0.1677)
OKLCHoklch(44.23% 0.168 268.9)
XYZxyz(10.9998, 8.0395, 41.0083)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46AE #AE972F
analogous
#2F85AE #2F46AE #572FAE
triadic
#2F46AE #AE2F46 #46AE2F
tetradic
#2F46AE #AE2F85 #AE972F #2FAE57
square
#2F46AE #AE2F85 #AE972F #2FAE57
split-complementary
#2F46AE #AE572F #85AE2F
monochromatic
#151F4E #22337E #2F46AE #4C63CF #7C8DDC

Accessibility & contrast

On white

8.05
#2F46AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F46AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46AE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46AE#FFFFFF#000000##FFFFFF
##2F46AE1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f46ae;
/* rgb */ color: rgb(47, 70, 174);
/* oklch */ color: oklch(44.2% 0.168 268.9);
Tailwind
colors: {
  custom: {
    50: '#7979c7',
    500: '#2f46ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f46ae;
$custom-light: #7979c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46ae",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 229.134,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.16773,
    "h": 268.9
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#2F46AE
secondary
#C4B675
accent
#C547E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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