#2D2985#2D2985

#2D2985 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.148 H 277.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2D2985
RGBrgb(45, 41, 133)
HSLhsl(243, 53%, 34%)
HSVhsv(243, 69%, 52%)
CMYKcmyk(66.2%, 69.2%, 0%, 47.8%)
CIE-LABlab(23.12, 31.63, -50.97)
CIE-LCHlch(23.12, 59.99, 301.82°)
OKLaboklab(35.05% 0.0192 -0.147)
OKLCHoklch(35.05% 0.148 277.4)
XYZxyz(6.1074, 3.8367, 22.6045)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2985 #818529
analogous
#295385 #2D2985 #5B2985
triadic
#2D2985 #852D29 #29852D
tetradic
#2D2985 #852953 #818529 #29855B
square
#2D2985 #852953 #818529 #29855B
split-complementary
#2D2985 #855B29 #538529
monochromatic
#0D0C27 #1D1B56 #2D2985 #3D37B4 #615CCD

Accessibility & contrast

On white

11.88
#2D2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2985
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2985#FFFFFF#000000##FFFFFF
##2D29851.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2985;
/* rgb */ color: rgb(45, 41, 133);
/* oklch */ color: oklch(35.1% 0.148 277.4);
Tailwind
colors: {
  custom: {
    50: '#7263a9',
    500: '#2d2985',
    950: '#000000',
  },
}
SCSS
$custom: #2d2985;
$custom-light: #7263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2985",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 242.609,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.14827,
    "h": 277.4
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#2D2985
secondary
#AEB258
accent
#DC4CD6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2985

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

Preview Lab → · Contrast checker → · Palette generator →

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