#2D3080#2D3080

#2D3080 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.132 H 275.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2D3080
RGBrgb(45, 48, 128)
HSLhsl(238, 48%, 34%)
HSVhsv(238, 65%, 50%)
CMYKcmyk(64.8%, 62.5%, 0%, 49.8%)
CIE-LABlab(24.42, 25.25, -45.72)
CIE-LCHlch(24.42, 52.23, 298.92°)
OKLaboklab(35.86% 0.0134 -0.1316)
OKLCHoklch(35.86% 0.132 275.8)
XYZxyz(6.0342, 4.2298, 20.9163)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3080 #807D2D
analogous
#2D5A80 #2D3080 #542D80
triadic
#2D3080 #802D30 #30802D
tetradic
#2D3080 #802D5A #807D2D #2D8054
square
#2D3080 #802D5A #807D2D #2D8054
split-complementary
#2D3080 #80542D #5A802D
monochromatic
#0D0E25 #1D1F53 #2D3080 #3D41AD #6064C7

Accessibility & contrast

On white

11.38
#2D3080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D3080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3080
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3080#FFFFFF#000000##FFFFFF
##2D30801.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d3080;
/* rgb */ color: rgb(45, 48, 128);
/* oklch */ color: oklch(35.9% 0.132 275.8);
Tailwind
colors: {
  custom: {
    50: '#7068a6',
    500: '#2d3080',
    950: '#000000',
  },
}
SCSS
$custom: #2d3080;
$custom-light: #7068a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3080",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 128
  },
  "hsl": {
    "h": 237.831,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3586,
    "c": 0.13225,
    "h": 275.8
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#2D3080
secondary
#AEAB5B
accent
#D350D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D3080

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

Preview Lab → · Contrast checker → · Palette generator →

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