#2F2EA5#2F2EA5

#2F2EA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.184 H 274.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2F2EA5
RGBrgb(47, 46, 165)
HSLhsl(241, 56%, 41%)
HSVhsv(241, 72%, 65%)
CMYKcmyk(71.5%, 72.1%, 0%, 35.3%)
CIE-LABlab(27.50, 39.87, -63.47)
CIE-LCHlch(27.50, 74.95, 302.14°)
OKLaboklab(39.18% 0.0135 -0.1835)
OKLCHoklch(39.18% 0.184 274.2)
XYZxyz(8.9386, 5.2741, 36.1369)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2EA5 #A4A52E
analogous
#2E69A5 #2F2EA5 #6B2EA5
triadic
#2F2EA5 #A52F2E #2EA52F
tetradic
#2F2EA5 #A52E69 #A4A52E #2EA56B
square
#2F2EA5 #A52E69 #A4A52E #2EA56B
split-complementary
#2F2EA5 #A56B2E #69A52E
monochromatic
#141345 #212175 #2F2EA5 #4645CB #7675D8

Accessibility & contrast

On white

10.22
#2F2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2EA5
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2EA5#FFFFFF#000000##FFFFFF
##2F2EA51.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f2ea5;
/* rgb */ color: rgb(47, 46, 165);
/* oklch */ color: oklch(39.2% 0.184 274.2);
Tailwind
colors: {
  custom: {
    50: '#7968c1',
    500: '#2f2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ea5;
$custom-light: #7968c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ea5",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 240.504,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.18401,
    "h": 274.2
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#2F2EA5
secondary
#C0C06F
accent
#E048DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2F2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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