#2D3085#2D3085

#2D3085 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.139 H 275.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3085
RGBrgb(45, 48, 133)
HSLhsl(238, 49%, 35%)
HSVhsv(238, 66%, 52%)
CMYKcmyk(66.2%, 63.9%, 0%, 47.8%)
CIE-LABlab(24.84, 27.07, -48.16)
CIE-LCHlch(24.84, 55.25, 299.34°)
OKLaboklab(36.31% 0.0132 -0.1388)
OKLCHoklch(36.31% 0.139 275.4)
XYZxyz(6.3714, 4.3647, 22.6925)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3085 #85822D
analogous
#2D5C85 #2D3085 #562D85
triadic
#2D3085 #852D30 #30852D
tetradic
#2D3085 #852D5C #85822D #2D8556
square
#2D3085 #852D5C #85822D #2D8556
split-complementary
#2D3085 #85562D #5C852D
monochromatic
#0E0F2A #1E1F57 #2D3085 #3C41B3 #6266CA

Accessibility & contrast

On white

11.21
#2D3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3085
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3085#FFFFFF#000000##FFFFFF
##2D30851.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3085;
/* rgb */ color: rgb(45, 48, 133);
/* oklch */ color: oklch(36.3% 0.139 275.4);
Tailwind
colors: {
  custom: {
    50: '#7168a9',
    500: '#2d3085',
    950: '#000000',
  },
}
SCSS
$custom: #2d3085;
$custom-light: #7168a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3085",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 237.955,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36306,
    "c": 0.13938,
    "h": 275.4
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2D3085
secondary
#B0AE5D
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3085

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

Preview Lab → · Contrast checker → · Palette generator →

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