#2D2F83#2D2F83

#2D2F83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.138 H 275.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2D2F83
RGBrgb(45, 47, 131)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 66%, 51%)
CMYKcmyk(65.6%, 64.1%, 0%, 48.6%)
CIE-LABlab(24.41, 27.01, -47.60)
CIE-LCHlch(24.41, 54.73, 299.57°)
OKLaboklab(35.94% 0.0142 -0.1371)
OKLCHoklch(35.94% 0.138 275.9)
XYZxyz(6.1941, 4.2291, 21.9582)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F83 #83812D
analogous
#2D5A83 #2D2F83 #562D83
triadic
#2D2F83 #832D2F #2F832D
tetradic
#2D2F83 #832D5A #83812D #2D8356
square
#2D2F83 #832D5A #83812D #2D8356
split-complementary
#2D2F83 #83562D #5A832D
monochromatic
#0E0E28 #1D1F55 #2D2F83 #3D3FB1 #6264C9

Accessibility & contrast

On white

11.38
#2D2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F83
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F83#FFFFFF#000000##FFFFFF
##2D2F831.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2f83;
/* rgb */ color: rgb(45, 47, 131);
/* oklch */ color: oklch(35.9% 0.138 275.9);
Tailwind
colors: {
  custom: {
    50: '#7167a8',
    500: '#2d2f83',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f83;
$custom-light: #7167a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f83",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 238.605,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35938,
    "c": 0.13787,
    "h": 275.9
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#2D2F83
secondary
#AFAD5C
accent
#D54FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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