#2F2DA5#2F2DA5

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

Color values

HEX#2F2DA5
RGBrgb(47, 45, 165)
HSLhsl(241, 57%, 41%)
HSVhsv(241, 73%, 65%)
CMYKcmyk(71.5%, 72.7%, 0%, 35.3%)
CIE-LABlab(27.29, 40.46, -63.82)
CIE-LCHlch(27.29, 75.56, 302.37°)
OKLaboklab(39.03% 0.0141 -0.1845)
OKLCHoklch(39.03% 0.185 274.4)
XYZxyz(8.9000, 5.1969, 36.1241)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DA5 #A3A52D
analogous
#2D67A5 #2F2DA5 #6B2DA5
triadic
#2F2DA5 #A52F2D #2DA52F
tetradic
#2F2DA5 #A52D67 #A3A52D #2DA56B
square
#2F2DA5 #A52D67 #A3A52D #2DA56B
split-complementary
#2F2DA5 #A56B2D #67A52D
monochromatic
#141345 #212075 #2F2DA5 #4643CC #7573D9

Accessibility & contrast

On white

10.30
#2F2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2DA5
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DA5#FFFFFF#000000##FFFFFF
##2F2DA51.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2da5;
/* rgb */ color: rgb(47, 45, 165);
/* oklch */ color: oklch(39.0% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#7967c1',
    500: '#2f2da5',
    950: '#000000',
  },
}
SCSS
$custom: #2f2da5;
$custom-light: #7967c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2da5",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 241,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39032,
    "c": 0.18507,
    "h": 274.4
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#2F2DA5
secondary
#BFC16D
accent
#E047DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2F2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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