#2D2B85#2D2B85

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

Color values

HEX#2D2B85
RGBrgb(45, 43, 133)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 68%, 52%)
CMYKcmyk(66.2%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.60, 30.35, -50.19)
CIE-LCHlch(23.60, 58.65, 301.16°)
OKLaboklab(35.4% 0.0175 -0.1447)
OKLCHoklch(35.4% 0.146 276.9)
XYZxyz(6.1783, 3.9786, 22.6281)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B85 #83852B
analogous
#2B5685 #2D2B85 #5A2B85
triadic
#2D2B85 #852D2B #2B852D
tetradic
#2D2B85 #852B56 #83852B #2B855A
square
#2D2B85 #852B56 #83852B #2B855A
split-complementary
#2D2B85 #855A2B #56852B
monochromatic
#0E0D29 #1D1C57 #2D2B85 #3D3AB3 #625FCB

Accessibility & contrast

On white

11.69
#2D2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B85
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B85#FFFFFF#000000##FFFFFF
##2D2B851.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2b85;
/* rgb */ color: rgb(45, 43, 133);
/* oklch */ color: oklch(35.4% 0.146 276.9);
Tailwind
colors: {
  custom: {
    50: '#7265a9',
    500: '#2d2b85',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b85;
$custom-light: #7265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b85",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 241.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35399,
    "c": 0.14579,
    "h": 276.9
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#2D2B85
secondary
#AFB15B
accent
#DB4DD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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