#2F2083#2F2083

#2F2083 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.156 H 280.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#2F2083
RGBrgb(47, 32, 131)
HSLhsl(249, 61%, 32%)
HSVhsv(249, 76%, 51%)
CMYKcmyk(64.1%, 75.6%, 0%, 48.6%)
CIE-LABlab(21.12, 36.69, -53.00)
CIE-LCHlch(21.12, 64.46, 304.69°)
OKLaboklab(33.6% 0.0293 -0.1529)
OKLCHoklch(33.6% 0.156 280.9)
XYZxyz(5.7842, 3.2756, 21.7958)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2083 #748320
analogous
#204383 #2F2083 #612083
triadic
#2F2083 #832F20 #20832F
tetradic
#2F2083 #832043 #748320 #208361
square
#2F2083 #832043 #748320 #208361
split-complementary
#2F2083 #836120 #438320
monochromatic
#0C0821 #1D1452 #2F2083 #412CB4 #5F4AD3

Accessibility & contrast

On white

12.69
#2F2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2F2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2083
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2083#FFFFFF#000000##FFFFFF
##2F20831.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2083;
/* rgb */ color: rgb(47, 32, 131);
/* oklch */ color: oklch(33.6% 0.156 280.9);
Tailwind
colors: {
  custom: {
    50: '#735da8',
    500: '#2f2083',
    950: '#000000',
  },
}
SCSS
$custom: #2f2083;
$custom-light: #735da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2083",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 249.091,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.15568,
    "h": 280.9
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#2F2083
secondary
#A5B649
accent
#E444CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2083

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

Preview Lab → · Contrast checker → · Palette generator →

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