#2F3284#2F3284

#2F3284 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.135 H 275.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2F3284
RGBrgb(47, 50, 132)
HSLhsl(238, 47%, 35%)
HSVhsv(238, 64%, 52%)
CMYKcmyk(64.4%, 62.1%, 0%, 48.2%)
CIE-LABlab(25.42, 25.71, -46.59)
CIE-LCHlch(25.42, 53.22, 298.89°)
OKLaboklab(36.74% 0.0139 -0.1341)
OKLCHoklch(36.74% 0.135 275.9)
XYZxyz(6.4764, 4.5510, 22.3625)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3284 #84812F
analogous
#2F5D84 #2F3284 #562F84
triadic
#2F3284 #842F32 #32842F
tetradic
#2F3284 #842F5D #84812F #2F8456
square
#2F3284 #842F5D #84812F #2F8456
split-complementary
#2F3284 #84562F #5D842F
monochromatic
#0F102A #1F2157 #2F3284 #3F43B1 #6569C8

Accessibility & contrast

On white

10.99
#2F3284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F3284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3284
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3284#FFFFFF#000000##FFFFFF
##2F32841.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3284;
/* rgb */ color: rgb(47, 50, 132);
/* oklch */ color: oklch(36.7% 0.135 275.9);
Tailwind
colors: {
  custom: {
    50: '#726aa8',
    500: '#2f3284',
    950: '#000000',
  },
}
SCSS
$custom: #2f3284;
$custom-light: #726aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3284",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 237.882,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36739,
    "c": 0.1348,
    "h": 275.9
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2F3284
secondary
#AFAC60
accent
#D251D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2F3284

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

Preview Lab → · Contrast checker → · Palette generator →

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