#2F2DA3#2F2DA3

#2F2DA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.183 H 274.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2F2DA3
RGBrgb(47, 45, 163)
HSLhsl(241, 57%, 41%)
HSVhsv(241, 72%, 64%)
CMYKcmyk(71.2%, 72.4%, 0%, 36.1%)
CIE-LABlab(27.09, 39.78, -62.94)
CIE-LCHlch(27.09, 74.46, 302.30°)
OKLaboklab(38.83% 0.0144 -0.182)
OKLCHoklch(38.83% 0.183 274.5)
XYZxyz(8.7193, 5.1246, 35.1729)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DA3 #A1A32D
analogous
#2D66A3 #2F2DA3 #6A2DA3
triadic
#2F2DA3 #A32F2D #2DA32F
tetradic
#2F2DA3 #A32D66 #A1A32D #2DA36A
square
#2F2DA3 #A32D66 #A1A32D #2DA36A
split-complementary
#2F2DA3 #A36A2D #66A32D
monochromatic
#131343 #212073 #2F2DA3 #4542CB #7472D8

Accessibility & contrast

On white

10.37
#2F2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F2DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DA3
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DA3#FFFFFF#000000##FFFFFF
##2F2DA31.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f2da3;
/* rgb */ color: rgb(47, 45, 163);
/* oklch */ color: oklch(38.8% 0.183 274.5);
Tailwind
colors: {
  custom: {
    50: '#7967bf',
    500: '#2f2da3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2da3;
$custom-light: #7967bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2da3",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 241.017,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.18254,
    "h": 274.5
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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