#2F3692#2F3692

#2F3692 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.149 H 273.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2F3692
RGBrgb(47, 54, 146)
HSLhsl(236, 51%, 38%)
HSVhsv(236, 68%, 57%)
CMYKcmyk(67.8%, 63%, 0%, 42.7%)
CIE-LABlab(27.62, 28.12, -51.69)
CIE-LCHlch(27.62, 58.84, 298.55°)
OKLaboklab(38.73% 0.0098 -0.149)
OKLCHoklch(38.73% 0.149 273.8)
XYZxyz(7.6780, 5.3173, 27.8103)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3692 #928B2F
analogous
#2F6792 #2F3692 #5A2F92
triadic
#2F3692 #922F36 #36922F
tetradic
#2F3692 #922F67 #928B2F #2F925A
square
#2F3692 #922F67 #928B2F #2F925A
split-complementary
#2F3692 #925A2F #67922F
monochromatic
#111435 #202564 #2F3692 #3E47C0 #6C73D0

Accessibility & contrast

On white

10.18
#2F3692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2F3692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3692
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3692#FFFFFF#000000##FFFFFF
##2F36921.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3692;
/* rgb */ color: rgb(47, 54, 146);
/* oklch */ color: oklch(38.7% 0.149 273.8);
Tailwind
colors: {
  custom: {
    50: '#746db3',
    500: '#2f3692',
    950: '#000000',
  },
}
SCSS
$custom: #2f3692;
$custom-light: #746db3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3692",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 146
  },
  "hsl": {
    "h": 235.758,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38732,
    "c": 0.14933,
    "h": 273.8
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#2F3692
secondary
#B7B166
accent
#D14DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3692

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

Preview Lab → · Contrast checker → · Palette generator →

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