#2F3699#2F3699

#2F3699 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.159 H 273.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2F3699
RGBrgb(47, 54, 153)
HSLhsl(236, 53%, 39%)
HSVhsv(236, 69%, 60%)
CMYKcmyk(69.3%, 64.7%, 0%, 40%)
CIE-LABlab(28.23, 30.66, -54.99)
CIE-LCHlch(28.23, 62.96, 299.14°)
OKLaboklab(39.37% 0.0095 -0.1587)
OKLCHoklch(39.37% 0.159 273.4)
XYZxyz(8.2393, 5.5418, 30.7663)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3699 #99922F
analogous
#2F6B99 #2F3699 #5D2F99
triadic
#2F3699 #992F36 #36992F
tetradic
#2F3699 #992F6B #99922F #2F995D
square
#2F3699 #992F6B #99922F #2F995D
split-complementary
#2F3699 #995D2F #6B992F
monochromatic
#12153B #21256A #2F3699 #4149C5 #6F76D3

Accessibility & contrast

On white

9.96
#2F3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F3699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3699
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3699#FFFFFF#000000##FFFFFF
##2F36991.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f3699;
/* rgb */ color: rgb(47, 54, 153);
/* oklch */ color: oklch(39.4% 0.159 273.4);
Tailwind
colors: {
  custom: {
    50: '#766db8',
    500: '#2f3699',
    950: '#000000',
  },
}
SCSS
$custom: #2f3699;
$custom-light: #766db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3699",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 236.038,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.15897,
    "h": 273.4
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#2F3699
secondary
#BAB569
accent
#D34BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2F3699

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

Preview Lab → · Contrast checker → · Palette generator →

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