#2F3693#2F3693

#2F3693 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.151 H 273.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2F3693
RGBrgb(47, 54, 147)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 68%, 58%)
CMYKcmyk(68%, 63.3%, 0%, 42.4%)
CIE-LABlab(27.71, 28.49, -52.16)
CIE-LCHlch(27.71, 59.44, 298.64°)
OKLaboklab(38.82% 0.0098 -0.1504)
OKLCHoklch(38.82% 0.151 273.7)
XYZxyz(7.7562, 5.3486, 28.2217)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3693 #938C2F
analogous
#2F6893 #2F3693 #5A2F93
triadic
#2F3693 #932F36 #36932F
tetradic
#2F3693 #932F68 #938C2F #2F935A
square
#2F3693 #932F68 #938C2F #2F935A
split-complementary
#2F3693 #935A2F #68932F
monochromatic
#111436 #202565 #2F3693 #3E47C1 #6C73D0

Accessibility & contrast

On white

10.15
#2F3693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3693
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3693#FFFFFF#000000##FFFFFF
##2F36931.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3693;
/* rgb */ color: rgb(47, 54, 147);
/* oklch */ color: oklch(38.8% 0.151 273.7);
Tailwind
colors: {
  custom: {
    50: '#756db3',
    500: '#2f3693',
    950: '#000000',
  },
}
SCSS
$custom: #2f3693;
$custom-light: #756db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3693",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 147
  },
  "hsl": {
    "h": 235.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.15072,
    "h": 273.7
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#2F3693
secondary
#B7B266
accent
#D14DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3693

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

Preview Lab → · Contrast checker → · Palette generator →

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