#2D3C83#2D3C83

#2D3C83 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.120 H 270.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2D3C83
RGBrgb(45, 60, 131)
HSLhsl(230, 49%, 35%)
HSVhsv(230, 66%, 51%)
CMYKcmyk(65.6%, 54.2%, 0%, 48.6%)
CIE-LABlab(27.92, 18.19, -41.92)
CIE-LCHlch(27.92, 45.69, 293.46°)
OKLaboklab(38.55% 0.0017 -0.1203)
OKLCHoklch(38.55% 0.12 270.8)
XYZxyz(6.7934, 5.4277, 22.1580)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C83 #83742D
analogous
#2D6783 #2D3C83 #492D83
triadic
#2D3C83 #832D3C #3C832D
tetradic
#2D3C83 #832D67 #83742D #2D8349
square
#2D3C83 #832D67 #83742D #2D8349
split-complementary
#2D3C83 #83492D #67832D
monochromatic
#0E1228 #1D2755 #2D3C83 #3D51B1 #6274C9

Accessibility & contrast

On white

10.07
#2D3C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D3C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C83
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C83#FFFFFF#000000##FFFFFF
##2D3C831.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104686
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3c83;
/* rgb */ color: rgb(45, 60, 131);
/* oklch */ color: oklch(38.5% 0.120 270.8);
Tailwind
colors: {
  custom: {
    50: '#7071a8',
    500: '#2d3c83',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c83;
$custom-light: #7071a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c83",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 229.535,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.12027,
    "h": 270.8
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#2D3C83
secondary
#AFA15C
accent
#C14FD8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D3C83

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

Preview Lab → · Contrast checker → · Palette generator →

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