#2F46AF#2F46AF

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

Color values

HEX#2F46AF
RGBrgb(47, 70, 175)
HSLhsl(229, 58%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(73.1%, 60%, 0%, 31.4%)
CIE-LABlab(34.15, 28.23, -58.58)
CIE-LCHlch(34.15, 65.03, 295.73°)
OKLaboklab(44.32% -0.0032 -0.1691)
OKLCHoklch(44.32% 0.169 268.9)
XYZxyz(11.0976, 8.0786, 41.5236)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46AF #AF982F
analogous
#2F86AF #2F46AF #582FAF
triadic
#2F46AF #AF2F46 #46AF2F
tetradic
#2F46AF #AF2F86 #AF982F #2FAF58
square
#2F46AF #AF2F86 #AF982F #2FAF58
split-complementary
#2F46AF #AF582F #86AF2F
monochromatic
#151F4F #22337F #2F46AF #4C64CF #7C8EDC

Accessibility & contrast

On white

8.03
#2F46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F46AF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46AF#FFFFFF#000000##FFFFFF
##2F46AF1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f46af;
/* rgb */ color: rgb(47, 70, 175);
/* oklch */ color: oklch(44.3% 0.169 268.9);
Tailwind
colors: {
  custom: {
    50: '#7a79c8',
    500: '#2f46af',
    950: '#000000',
  },
}
SCSS
$custom: #2f46af;
$custom-light: #7a79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46af",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 229.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44315,
    "c": 0.16909,
    "h": 268.9
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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