#2F2DA2#2F2DA2

#2F2DA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.181 H 274.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2F2DA2
RGBrgb(47, 45, 162)
HSLhsl(241, 57%, 41%)
HSVhsv(241, 72%, 64%)
CMYKcmyk(71%, 72.2%, 0%, 36.5%)
CIE-LABlab(26.99, 39.44, -62.50)
CIE-LCHlch(26.99, 73.91, 302.26°)
OKLaboklab(38.73% 0.0146 -0.1807)
OKLCHoklch(38.73% 0.181 274.6)
XYZxyz(8.6301, 5.0889, 34.7029)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DA2 #A0A22D
analogous
#2D65A2 #2F2DA2 #6A2DA2
triadic
#2F2DA2 #A22F2D #2DA22F
tetradic
#2F2DA2 #A22D65 #A0A22D #2DA26A
square
#2F2DA2 #A22D65 #A0A22D #2DA26A
split-complementary
#2F2DA2 #A26A2D #65A22D
monochromatic
#131242 #212072 #2F2DA2 #4442CA #7372D8

Accessibility & contrast

On white

10.41
#2F2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F2DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DA2
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DA2#FFFFFF#000000##FFFFFF
##2F2DA21.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f2da2;
/* rgb */ color: rgb(47, 45, 162);
/* oklch */ color: oklch(38.7% 0.181 274.6);
Tailwind
colors: {
  custom: {
    50: '#7967bf',
    500: '#2f2da2',
    950: '#000000',
  },
}
SCSS
$custom: #2f2da2;
$custom-light: #7967bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2da2",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 241.026,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.18127,
    "h": 274.6
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#2F2DA2
secondary
#BEBF6C
accent
#E048DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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