#2F3983#2F3983

#2F3983 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.124 H 273.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2F3983
RGBrgb(47, 57, 131)
HSLhsl(233, 47%, 35%)
HSVhsv(233, 64%, 51%)
CMYKcmyk(64.1%, 56.5%, 0%, 48.6%)
CIE-LABlab(27.21, 20.61, -43.06)
CIE-LCHlch(27.21, 47.74, 295.58°)
OKLaboklab(38.05% 0.007 -0.1236)
OKLCHoklch(38.05% 0.124 273.2)
XYZxyz(6.7308, 5.1687, 22.1113)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3983 #83792F
analogous
#2F6383 #2F3983 #4F2F83
triadic
#2F3983 #832F39 #39832F
tetradic
#2F3983 #832F63 #83792F #2F834F
square
#2F3983 #832F63 #83792F #2F834F
split-complementary
#2F3983 #834F2F #63832F
monochromatic
#0F1229 #1F2556 #2F3983 #3F4DB0 #6571C8

Accessibility & contrast

On white

10.33
#2F3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F3983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3983
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3983#FFFFFF#000000##FFFFFF
##2F39831.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034486
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3983;
/* rgb */ color: rgb(47, 57, 131);
/* oklch */ color: oklch(38.0% 0.124 273.2);
Tailwind
colors: {
  custom: {
    50: '#716fa8',
    500: '#2f3983',
    950: '#000000',
  },
}
SCSS
$custom: #2f3983;
$custom-light: #716fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3983",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 232.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.1238,
    "h": 273.2
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#2F3983
secondary
#AFA55F
accent
#C751D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3983

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

Preview Lab → · Contrast checker → · Palette generator →

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