#2D3DB7#2D3DB7

#2D3DB7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.191 H 270.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2D3DB7
RGBrgb(45, 61, 183)
HSLhsl(233, 61%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(75.4%, 66.7%, 0%, 28.2%)
CIE-LABlab(32.51, 36.73, -66.01)
CIE-LCHlch(32.51, 75.54, 299.10°)
OKLaboklab(43.3% 0.0005 -0.1909)
OKLCHoklch(43.3% 0.191 270.1)
XYZxyz(11.2953, 7.3131, 45.6068)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DB7 #B7A72D
analogous
#2D82B7 #2D3DB7 #622DB7
triadic
#2D3DB7 #B72D3D #3DB72D
tetradic
#2D3DB7 #B72D82 #B7A72D #2DB762
square
#2D3DB7 #B72D82 #B7A72D #2DB762
split-complementary
#2D3DB7 #B7622D #82B72D
monochromatic
#151C55 #212D86 #2D3DB7 #4E5DD3 #7F8ADF

Accessibility & contrast

On white

8.53
#2D3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DB7
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DB7#FFFFFF#000000##FFFFFF
##2D3DB71.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3db7;
/* rgb */ color: rgb(45, 61, 183);
/* oklch */ color: oklch(43.3% 0.191 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b72ce',
    500: '#2d3db7',
    950: '#000000',
  },
}
SCSS
$custom: #2d3db7;
$custom-light: #7b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3db7",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 233.043,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.19095,
    "h": 270.1
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#2D3DB7
secondary
#C8BF78
accent
#D144E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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