#2F47AF#2F47AF

#2F47AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.168 H 268.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2F47AF
RGBrgb(47, 71, 175)
HSLhsl(229, 58%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(73.1%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.41, 27.58, -58.15)
CIE-LCHlch(34.41, 64.36, 295.37°)
OKLaboklab(44.51% -0.004 -0.1678)
OKLCHoklch(44.51% 0.168 268.6)
XYZxyz(11.1607, 8.2048, 41.5446)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F47AF #AF972F
analogous
#2F87AF #2F47AF #572FAF
triadic
#2F47AF #AF2F47 #47AF2F
tetradic
#2F47AF #AF2F87 #AF972F #2FAF57
square
#2F47AF #AF2F87 #AF972F #2FAF57
split-complementary
#2F47AF #AF572F #87AF2F
monochromatic
#15204F #22337F #2F47AF #4C65CF #7C8EDC

Accessibility & contrast

On white

7.95
#2F47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F47AF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F47AF#FFFFFF#000000##FFFFFF
##2F47AF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f47af;
/* rgb */ color: rgb(47, 71, 175);
/* oklch */ color: oklch(44.5% 0.168 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#2f47af',
    950: '#000000',
  },
}
SCSS
$custom: #2f47af;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f47af",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 228.75,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44508,
    "c": 0.16786,
    "h": 268.6
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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