#2D3C93#2D3C93

#2D3C93 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.144 H 271.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2D3C93
RGBrgb(45, 60, 147)
HSLhsl(231, 53%, 38%)
HSVhsv(231, 69%, 58%)
CMYKcmyk(69.4%, 59.2%, 0%, 42.4%)
CIE-LABlab(29.15, 24.18, -49.82)
CIE-LCHlch(29.15, 55.38, 295.89°)
OKLaboklab(39.86% 0.0024 -0.1435)
OKLCHoklch(39.86% 0.144 271)
XYZxyz(7.9627, 5.8954, 28.3164)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C93 #93842D
analogous
#2D6F93 #2D3C93 #512D93
triadic
#2D3C93 #932D3C #3C932D
tetradic
#2D3C93 #932D6F #93842D #2D9351
square
#2D3C93 #932D6F #93842D #2D9351
split-complementary
#2D3C93 #93512D #6F932D
monochromatic
#101635 #1F2964 #2D3C93 #3B4FC2 #6979D1

Accessibility & contrast

On white

9.64
#2D3C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D3C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C93
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C93#FFFFFF#000000##FFFFFF
##2D3C931.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3c93;
/* rgb */ color: rgb(45, 60, 147);
/* oklch */ color: oklch(39.9% 0.144 271.0);
Tailwind
colors: {
  custom: {
    50: '#7371b3',
    500: '#2d3c93',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c93;
$custom-light: #7371b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c93",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 231.176,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39856,
    "c": 0.14353,
    "h": 271
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#2D3C93
secondary
#B8AC64
accent
#C74BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3C93

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

Preview Lab → · Contrast checker → · Palette generator →

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