#2F46AA#2F46AA

#2F46AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.162 H 268.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2F46AA
RGBrgb(47, 70, 170)
HSLhsl(229, 57%, 43%)
HSVhsv(229, 72%, 67%)
CMYKcmyk(72.4%, 58.8%, 0%, 33.3%)
CIE-LABlab(33.74, 26.38, -56.25)
CIE-LCHlch(33.74, 62.13, 295.12°)
OKLaboklab(43.89% -0.0033 -0.1622)
OKLCHoklch(43.89% 0.162 268.8)
XYZxyz(10.6156, 7.8858, 38.9851)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46AA #AA932F
analogous
#2F84AA #2F46AA #552FAA
triadic
#2F46AA #AA2F46 #46AA2F
tetradic
#2F46AA #AA2F84 #AA932F #2FAA55
square
#2F46AA #AA2F84 #AA932F #2FAA55
split-complementary
#2F46AA #AA552F #84AA2F
monochromatic
#141F4A #22327A #2F46AA #4962CD #798BDA

Accessibility & contrast

On white

8.15
#2F46AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2F46AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46AA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46AA#FFFFFF#000000##FFFFFF
##2F46AA1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f46aa;
/* rgb */ color: rgb(47, 70, 170);
/* oklch */ color: oklch(43.9% 0.162 268.8);
Tailwind
colors: {
  custom: {
    50: '#7879c4',
    500: '#2f46aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f46aa;
$custom-light: #7879c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46aa",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 228.78,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.16227,
    "h": 268.8
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#2F46AA
secondary
#C2B372
accent
#C448E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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