#2F2EA3#2F2EA3

#2F2EA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.181 H 274.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2F2EA3
RGBrgb(47, 46, 163)
HSLhsl(241, 56%, 41%)
HSVhsv(241, 72%, 64%)
CMYKcmyk(71.2%, 71.8%, 0%, 36.1%)
CIE-LABlab(27.30, 39.19, -62.59)
CIE-LCHlch(27.30, 73.84, 302.05°)
OKLaboklab(38.98% 0.0138 -0.1809)
OKLCHoklch(38.98% 0.181 274.4)
XYZxyz(8.7580, 5.2018, 35.1857)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EA3 #A2A32E
analogous
#2E67A3 #2F2EA3 #692EA3
triadic
#2F2EA3 #A32F2E #2EA32F
tetradic
#2F2EA3 #A32E67 #A2A32E #2EA369
square
#2F2EA3 #A32E67 #A2A32E #2EA369
split-complementary
#2F2EA3 #A3692E #67A32E
monochromatic
#131344 #212173 #2F2EA3 #4544CA #7574D8

Accessibility & contrast

On white

10.29
#2F2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2EA3
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EA3#FFFFFF#000000##FFFFFF
##2F2EA31.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f2ea3;
/* rgb */ color: rgb(47, 46, 163);
/* oklch */ color: oklch(39.0% 0.181 274.4);
Tailwind
colors: {
  custom: {
    50: '#7968bf',
    500: '#2f2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ea3;
$custom-light: #7968bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ea3",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 240.513,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38981,
    "c": 0.18147,
    "h": 274.4
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#2F2EA3
secondary
#BFBF6D
accent
#DF49DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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