#2F46AD#2F46AD

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

Color values

HEX#2F46AD
RGBrgb(47, 70, 173)
HSLhsl(229, 57%, 43%)
HSVhsv(229, 73%, 68%)
CMYKcmyk(72.8%, 59.5%, 0%, 32.2%)
CIE-LABlab(33.98, 27.49, -57.65)
CIE-LCHlch(33.98, 63.87, 295.50°)
OKLaboklab(44.14% -0.0032 -0.1663)
OKLCHoklch(44.14% 0.166 268.9)
XYZxyz(10.9027, 8.0007, 40.4968)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46AD #AD962F
analogous
#2F85AD #2F46AD #572FAD
triadic
#2F46AD #AD2F46 #46AD2F
tetradic
#2F46AD #AD2F85 #AD962F #2FAD57
square
#2F46AD #AD2F85 #AD962F #2FAD57
split-complementary
#2F46AD #AD572F #85AD2F
monochromatic
#151F4D #22337D #2F46AD #4B63CE #7B8DDB

Accessibility & contrast

On white

8.08
#2F46AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F46AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46AD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46AD#FFFFFF#000000##FFFFFF
##2F46AD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f46ad;
/* rgb */ color: rgb(47, 70, 173);
/* oklch */ color: oklch(44.1% 0.166 268.9);
Tailwind
colors: {
  custom: {
    50: '#7979c6',
    500: '#2f46ad',
    950: '#000000',
  },
}
SCSS
$custom: #2f46ad;
$custom-light: #7979c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46ad",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 229.048,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.16637,
    "h": 268.9
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F46AD

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

Preview Lab → · Contrast checker → · Palette generator →

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