#2F3596#2F3596

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

Color values

HEX#2F3596
RGBrgb(47, 53, 150)
HSLhsl(237, 52%, 39%)
HSVhsv(237, 69%, 59%)
CMYKcmyk(68.7%, 64.7%, 0%, 41.2%)
CIE-LABlab(27.71, 30.23, -53.99)
CIE-LCHlch(27.71, 61.88, 299.24°)
OKLaboklab(38.91% 0.0104 -0.1558)
OKLCHoklch(38.91% 0.156 273.8)
XYZxyz(7.9486, 5.3518, 29.4624)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3596 #96902F
analogous
#2F6896 #2F3596 #5C2F96
triadic
#2F3596 #962F35 #35962F
tetradic
#2F3596 #962F68 #96902F #2F965C
square
#2F3596 #962F68 #96902F #2F965C
split-complementary
#2F3596 #965C2F #68962F
monochromatic
#121439 #202567 #2F3596 #3F47C3 #6E74D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3596#FFFFFF#000000##FFFFFF
##2F35961.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)
#004699
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3596;
/* rgb */ color: rgb(47, 53, 150);
/* oklch */ color: oklch(38.9% 0.156 273.8);
Tailwind
colors: {
  custom: {
    50: '#756cb6',
    500: '#2f3596',
    950: '#000000',
  },
}
SCSS
$custom: #2f3596;
$custom-light: #756cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3596",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 236.505,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38909,
    "c": 0.15612,
    "h": 273.8
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#2F3596
secondary
#B9B468
accent
#D34CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3596

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

Preview Lab → · Contrast checker → · Palette generator →

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