#2F3487#2F3487

#2F3487 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.136 H 275.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2F3487
RGBrgb(47, 52, 135)
HSLhsl(237, 48%, 36%)
HSVhsv(237, 65%, 53%)
CMYKcmyk(65.2%, 61.5%, 0%, 47.1%)
CIE-LABlab(26.18, 25.46, -47.22)
CIE-LCHlch(26.18, 53.64, 298.33°)
OKLaboklab(37.38% 0.0119 -0.1359)
OKLCHoklch(37.38% 0.136 275)
XYZxyz(6.7720, 4.8090, 23.4883)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3487 #87822F
analogous
#2F6087 #2F3487 #562F87
triadic
#2F3487 #872F34 #34872F
tetradic
#2F3487 #872F60 #87822F #2F8756
square
#2F3487 #872F60 #87822F #2F8756
split-complementary
#2F3487 #87562F #60872F
monochromatic
#0F112C #1F235A #2F3487 #3F45B4 #666CCA

Accessibility & contrast

On white

10.70
#2F3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3487
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3487#FFFFFF#000000##FFFFFF
##2F34871.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3487;
/* rgb */ color: rgb(47, 52, 135);
/* oklch */ color: oklch(37.4% 0.136 275.0);
Tailwind
colors: {
  custom: {
    50: '#726bab',
    500: '#2f3487',
    950: '#000000',
  },
}
SCSS
$custom: #2f3487;
$custom-light: #726bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3487",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 236.591,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37384,
    "c": 0.13641,
    "h": 275
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#2F3487
secondary
#B1AC61
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3487

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

Preview Lab → · Contrast checker → · Palette generator →

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