#2F3488#2F3488

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

Color values

HEX#2F3488
RGBrgb(47, 52, 136)
HSLhsl(237, 49%, 36%)
HSVhsv(237, 65%, 53%)
CMYKcmyk(65.4%, 61.8%, 0%, 46.7%)
CIE-LABlab(26.27, 25.82, -47.71)
CIE-LCHlch(26.27, 54.25, 298.42°)
OKLaboklab(37.47% 0.0119 -0.1373)
OKLCHoklch(37.47% 0.138 275)
XYZxyz(6.8428, 4.8373, 23.8609)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3488 #88832F
analogous
#2F6088 #2F3488 #562F88
triadic
#2F3488 #882F34 #34882F
tetradic
#2F3488 #882F60 #88832F #2F8856
square
#2F3488 #882F60 #88832F #2F8856
split-complementary
#2F3488 #88562F #60882F
monochromatic
#10112D #1F235B #2F3488 #3F45B5 #676DCA

Accessibility & contrast

On white

10.67
#2F3488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F3488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3488
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3488#FFFFFF#000000##FFFFFF
##2F34881.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3488;
/* rgb */ color: rgb(47, 52, 136);
/* oklch */ color: oklch(37.5% 0.138 275.0);
Tailwind
colors: {
  custom: {
    50: '#726bab',
    500: '#2f3488',
    950: '#000000',
  },
}
SCSS
$custom: #2f3488;
$custom-light: #726bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3488",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 236.629,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.13785,
    "h": 275
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#2F3488
secondary
#B1AD61
accent
#D150D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3488

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

Preview Lab → · Contrast checker → · Palette generator →

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