#2F3471#2F3471

#2F3471 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.104 H 276.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2F3471
RGBrgb(47, 52, 113)
HSLhsl(235, 41%, 31%)
HSVhsv(235, 58%, 44%)
CMYKcmyk(58.4%, 54%, 0%, 55.7%)
CIE-LABlab(24.49, 17.46, -36.08)
CIE-LCHlch(24.49, 40.08, 295.83°)
OKLaboklab(35.58% 0.0113 -0.1031)
OKLCHoklch(35.58% 0.104 276.2)
XYZxyz(5.3800, 4.2522, 16.1568)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3471 #716C2F
analogous
#2F5571 #2F3471 #4B2F71
triadic
#2F3471 #712F34 #34712F
tetradic
#2F3471 #712F55 #716C2F #2F714B
square
#2F3471 #712F55 #716C2F #2F714B
split-complementary
#2F3471 #714B2F #55712F
monochromatic
#0B0C1B #1D2046 #2F3471 #41489C #5E65BC

Accessibility & contrast

On white

11.35
#2F3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F3471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3471
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3471#FFFFFF#000000##FFFFFF
##2F34711.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#083870
Tritanopia (blue-blind)
#0C424D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3471;
/* rgb */ color: rgb(47, 52, 113);
/* oklch */ color: oklch(35.6% 0.104 276.2);
Tailwind
colors: {
  custom: {
    50: '#6e6b9a',
    500: '#2f3471',
    950: '#000000',
  },
}
SCSS
$custom: #2f3471;
$custom-light: #6e6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3471",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 235.455,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.10374,
    "h": 276.2
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#2F3471
secondary
#A29D5A
accent
#C857D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2F3471

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

Preview Lab → · Contrast checker → · Palette generator →

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