#2F2B83#2F2B83

#2F2B83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.143 H 278.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2F2B83
RGBrgb(47, 43, 131)
HSLhsl(243, 51%, 34%)
HSVhsv(243, 67%, 51%)
CMYKcmyk(64.1%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.57, 29.96, -48.97)
CIE-LCHlch(23.57, 57.41, 301.46°)
OKLaboklab(35.36% 0.0204 -0.1411)
OKLCHoklch(35.36% 0.143 278.2)
XYZxyz(6.1316, 3.9703, 21.9116)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B83 #7F832B
analogous
#2B5383 #2F2B83 #5B2B83
triadic
#2F2B83 #832F2B #2B832F
tetradic
#2F2B83 #832B53 #7F832B #2B835B
square
#2F2B83 #832B53 #7F832B #2B835B
split-complementary
#2F2B83 #835B2B #53832B
monochromatic
#0E0D27 #1E1C55 #2F2B83 #403AB1 #635ECA

Accessibility & contrast

On white

11.70
#2F2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B83
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B83#FFFFFF#000000##FFFFFF
##2F2B831.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f2b83;
/* rgb */ color: rgb(47, 43, 131);
/* oklch */ color: oklch(35.4% 0.143 278.2);
Tailwind
colors: {
  custom: {
    50: '#7265a8',
    500: '#2f2b83',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b83;
$custom-light: #7265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b83",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 242.727,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35362,
    "c": 0.14257,
    "h": 278.2
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#2F2B83
secondary
#ACB05A
accent
#DA4ED4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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