#2F3499#2F3499

#2F3499 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.161 H 273.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2F3499
RGBrgb(47, 52, 153)
HSLhsl(237, 53%, 39%)
HSVhsv(237, 69%, 60%)
CMYKcmyk(69.3%, 66%, 0%, 40%)
CIE-LABlab(27.74, 31.95, -55.79)
CIE-LCHlch(27.74, 64.29, 299.80°)
OKLaboklab(39.01% 0.011 -0.1611)
OKLCHoklch(39.01% 0.161 273.9)
XYZxyz(8.1481, 5.3595, 30.7359)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3499 #99942F
analogous
#2F6999 #2F3499 #5F2F99
triadic
#2F3499 #992F34 #34992F
tetradic
#2F3499 #992F69 #99942F #2F995F
square
#2F3499 #992F69 #99942F #2F995F
split-complementary
#2F3499 #995F2F #69992F
monochromatic
#12143B #21246A #2F3499 #4147C5 #6F74D3

Accessibility & contrast

On white

10.14
#2F3499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F3499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3499
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3499#FFFFFF#000000##FFFFFF
##2F34991.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3499;
/* rgb */ color: rgb(47, 52, 153);
/* oklch */ color: oklch(39.0% 0.161 273.9);
Tailwind
colors: {
  custom: {
    50: '#766cb8',
    500: '#2f3499',
    950: '#000000',
  },
}
SCSS
$custom: #2f3499;
$custom-light: #766cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3499",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 237.17,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39006,
    "c": 0.16143,
    "h": 273.9
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#2F3499
secondary
#BAB769
accent
#D64BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #2F3499

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

Preview Lab → · Contrast checker → · Palette generator →

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