#2F2483#2F2483

#2F2483 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.151 H 280.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2F2483
RGBrgb(47, 36, 131)
HSLhsl(247, 57%, 33%)
HSVhsv(247, 73%, 51%)
CMYKcmyk(64.1%, 72.5%, 0%, 48.6%)
CIE-LABlab(21.96, 34.34, -51.62)
CIE-LCHlch(21.96, 61.99, 303.63°)
OKLaboklab(34.2% 0.0263 -0.1488)
OKLCHoklch(34.2% 0.151 280)
XYZxyz(5.8986, 3.5043, 21.8339)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2483 #788324
analogous
#244983 #2F2483 #5E2483
triadic
#2F2483 #832F24 #24832F
tetradic
#2F2483 #832449 #788324 #24835E
square
#2F2483 #832449 #788324 #24835E
split-complementary
#2F2483 #835E24 #498324
monochromatic
#0D0A23 #1E1753 #2F2483 #4031B3 #6052CF

Accessibility & contrast

On white

12.35
#2F2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2F2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2483
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2483#FFFFFF#000000##FFFFFF
##2F24831.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2483;
/* rgb */ color: rgb(47, 36, 131);
/* oklch */ color: oklch(34.2% 0.151 280.0);
Tailwind
colors: {
  custom: {
    50: '#7360a8',
    500: '#2f2483',
    950: '#000000',
  },
}
SCSS
$custom: #2f2483;
$custom-light: #7360a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2483",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 246.947,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.15115,
    "h": 280
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#2F2483
secondary
#A8B34F
accent
#E048CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2F2483

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

Preview Lab → · Contrast checker → · Palette generator →

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