#2D2983#2D2983

#2D2983 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.146 H 277.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2D2983
RGBrgb(45, 41, 131)
HSLhsl(243, 52%, 34%)
HSVhsv(243, 69%, 51%)
CMYKcmyk(65.6%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.94, 30.93, -50.02)
CIE-LCHlch(22.94, 58.81, 301.73°)
OKLaboklab(34.86% 0.0194 -0.1442)
OKLCHoklch(34.86% 0.146 277.7)
XYZxyz(5.9705, 3.7820, 21.8837)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2983 #7F8329
analogous
#295283 #2D2983 #5A2983
triadic
#2D2983 #832D29 #29832D
tetradic
#2D2983 #832952 #7F8329 #29835A
square
#2D2983 #832952 #7F8329 #29835A
split-complementary
#2D2983 #835A29 #528329
monochromatic
#0D0C26 #1D1A54 #2D2983 #3D38B2 #605BCC

Accessibility & contrast

On white

11.96
#2D2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2983
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2983#FFFFFF#000000##FFFFFF
##2D29831.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2983;
/* rgb */ color: rgb(45, 41, 131);
/* oklch */ color: oklch(34.9% 0.146 277.7);
Tailwind
colors: {
  custom: {
    50: '#7163a8',
    500: '#2d2983',
    950: '#000000',
  },
}
SCSS
$custom: #2d2983;
$custom-light: #7163a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2983",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 242.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34861,
    "c": 0.14554,
    "h": 277.7
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#2D2983
secondary
#ADB157
accent
#DC4CD5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2983

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

Preview Lab → · Contrast checker → · Palette generator →

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