#2F3583#2F3583

#2F3583 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.129 H 274.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2F3583
RGBrgb(47, 53, 131)
HSLhsl(236, 47%, 35%)
HSVhsv(236, 64%, 51%)
CMYKcmyk(64.1%, 59.5%, 0%, 48.6%)
CIE-LABlab(26.12, 23.33, -44.82)
CIE-LCHlch(26.12, 50.52, 297.50°)
OKLaboklab(37.24% 0.011 -0.1288)
OKLCHoklch(37.24% 0.129 274.9)
XYZxyz(6.5408, 4.7887, 22.0480)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3583 #837D2F
analogous
#2F5F83 #2F3583 #532F83
triadic
#2F3583 #832F35 #35832F
tetradic
#2F3583 #832F5F #837D2F #2F8353
square
#2F3583 #832F5F #837D2F #2F8353
split-complementary
#2F3583 #83532F #5F832F
monochromatic
#0F1129 #1F2356 #2F3583 #3F47B0 #656CC8

Accessibility & contrast

On white

10.73
#2F3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3583
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3583#FFFFFF#000000##FFFFFF
##2F35831.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3583;
/* rgb */ color: rgb(47, 53, 131);
/* oklch */ color: oklch(37.2% 0.129 274.9);
Tailwind
colors: {
  custom: {
    50: '#716ca8',
    500: '#2f3583',
    950: '#000000',
  },
}
SCSS
$custom: #2f3583;
$custom-light: #716ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3583",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 235.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.12929,
    "h": 274.9
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#2F3583
secondary
#AFA95F
accent
#CD51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3583

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

Preview Lab → · Contrast checker → · Palette generator →

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