#2D3083#2D3083

#2D3083 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.137 H 275.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2D3083
RGBrgb(45, 48, 131)
HSLhsl(238, 49%, 35%)
HSVhsv(238, 66%, 51%)
CMYKcmyk(65.6%, 63.4%, 0%, 48.6%)
CIE-LABlab(24.67, 26.34, -47.19)
CIE-LCHlch(24.67, 54.04, 299.17°)
OKLaboklab(36.13% 0.0133 -0.1359)
OKLCHoklch(36.13% 0.137 275.6)
XYZxyz(6.2345, 4.3100, 21.9717)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3083 #83802D
analogous
#2D5B83 #2D3083 #552D83
triadic
#2D3083 #832D30 #30832D
tetradic
#2D3083 #832D5B #83802D #2D8355
square
#2D3083 #832D5B #83802D #2D8355
split-complementary
#2D3083 #83552D #5B832D
monochromatic
#0E0F28 #1D1F55 #2D3083 #3D41B1 #6265C9

Accessibility & contrast

On white

11.28
#2D3083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D3083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3083
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3083#FFFFFF#000000##FFFFFF
##2D30831.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3083;
/* rgb */ color: rgb(45, 48, 131);
/* oklch */ color: oklch(36.1% 0.137 275.6);
Tailwind
colors: {
  custom: {
    50: '#7168a8',
    500: '#2d3083',
    950: '#000000',
  },
}
SCSS
$custom: #2d3083;
$custom-light: #7168a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3083",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 131
  },
  "hsl": {
    "h": 237.907,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36127,
    "c": 0.13654,
    "h": 275.6
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#2D3083
secondary
#AFAC5C
accent
#D44FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3083

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

Preview Lab → · Contrast checker → · Palette generator →

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