#2D3086#2D3086

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

Color values

HEX#2D3086
RGBrgb(45, 48, 134)
HSLhsl(238, 50%, 35%)
HSVhsv(238, 66%, 53%)
CMYKcmyk(66.4%, 64.2%, 0%, 47.5%)
CIE-LABlab(24.93, 27.43, -48.64)
CIE-LCHlch(24.93, 55.84, 299.42°)
OKLaboklab(36.4% 0.0132 -0.1402)
OKLCHoklch(36.4% 0.141 275.4)
XYZxyz(6.4408, 4.3925, 23.0580)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3086 #86832D
analogous
#2D5C86 #2D3086 #572D86
triadic
#2D3086 #862D30 #30862D
tetradic
#2D3086 #862D5C #86832D #2D8657
square
#2D3086 #862D5C #86832D #2D8657
split-complementary
#2D3086 #86572D #5C862D
monochromatic
#0E0F2A #1E2058 #2D3086 #3C40B4 #6366CB

Accessibility & contrast

On white

11.18
#2D3086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D3086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3086
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3086#FFFFFF#000000##FFFFFF
##2D30861.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3086;
/* rgb */ color: rgb(45, 48, 134);
/* oklch */ color: oklch(36.4% 0.141 275.4);
Tailwind
colors: {
  custom: {
    50: '#7168aa',
    500: '#2d3086',
    950: '#000000',
  },
}
SCSS
$custom: #2d3086;
$custom-light: #7168aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3086",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 237.978,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36397,
    "c": 0.14079,
    "h": 275.4
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#2D3086
secondary
#B1AE5E
accent
#D54FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D3086

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

Preview Lab → · Contrast checker → · Palette generator →

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