#2F46AB#2F46AB

#2F46AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.164 H 268.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2F46AB
RGBrgb(47, 70, 171)
HSLhsl(229, 57%, 43%)
HSVhsv(229, 73%, 67%)
CMYKcmyk(72.5%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.82, 26.75, -56.72)
CIE-LCHlch(33.82, 62.71, 295.25°)
OKLaboklab(43.97% -0.0033 -0.1636)
OKLCHoklch(43.97% 0.164 268.9)
XYZxyz(10.7106, 7.9238, 39.4852)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46AB #AB942F
analogous
#2F84AB #2F46AB #562FAB
triadic
#2F46AB #AB2F46 #46AB2F
tetradic
#2F46AB #AB2F84 #AB942F #2FAB56
square
#2F46AB #AB2F84 #AB942F #2FAB56
split-complementary
#2F46AB #AB562F #84AB2F
monochromatic
#151F4B #22327B #2F46AB #4A62CD #7A8CDA

Accessibility & contrast

On white

8.12
#2F46AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F46AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46AB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46AB#FFFFFF#000000##FFFFFF
##2F46AB1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f46ab;
/* rgb */ color: rgb(47, 70, 171);
/* oklch */ color: oklch(44.0% 0.164 268.9);
Tailwind
colors: {
  custom: {
    50: '#7979c5',
    500: '#2f46ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f46ab;
$custom-light: #7979c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46ab",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 228.871,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43974,
    "c": 0.16364,
    "h": 268.9
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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