#2D3380#2D3380

#2D3380 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.128 H 274.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2D3380
RGBrgb(45, 51, 128)
HSLhsl(236, 48%, 34%)
HSVhsv(236, 65%, 50%)
CMYKcmyk(64.8%, 60.2%, 0%, 49.8%)
CIE-LABlab(25.21, 23.22, -44.43)
CIE-LCHlch(25.21, 50.13, 297.60°)
OKLaboklab(36.45% 0.0105 -0.1277)
OKLCHoklch(36.45% 0.128 274.7)
XYZxyz(6.1610, 4.4835, 20.9586)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3380 #807A2D
analogous
#2D5D80 #2D3380 #512D80
triadic
#2D3380 #802D33 #33802D
tetradic
#2D3380 #802D5D #807A2D #2D8051
square
#2D3380 #802D5D #807A2D #2D8051
split-complementary
#2D3380 #80512D #5D802D
monochromatic
#0D0F25 #1D2153 #2D3380 #3D45AD #6068C7

Accessibility & contrast

On white

11.07
#2D3380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D3380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3380
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3380#FFFFFF#000000##FFFFFF
##2D33801.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3380;
/* rgb */ color: rgb(45, 51, 128);
/* oklch */ color: oklch(36.4% 0.128 274.7);
Tailwind
colors: {
  custom: {
    50: '#706aa5',
    500: '#2d3380',
    950: '#000000',
  },
}
SCSS
$custom: #2d3380;
$custom-light: #706aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3380",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 235.663,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36447,
    "c": 0.12818,
    "h": 274.7
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#2D3380
secondary
#AEA85B
accent
#CE50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D3380

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

Preview Lab → · Contrast checker → · Palette generator →

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