#2D3A93#2D3A93

#2D3A93 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.146 H 271.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2D3A93
RGBrgb(45, 58, 147)
HSLhsl(232, 53%, 38%)
HSVhsv(232, 69%, 58%)
CMYKcmyk(69.4%, 60.5%, 0%, 42.4%)
CIE-LABlab(28.62, 25.53, -50.68)
CIE-LCHlch(28.62, 56.75, 296.73°)
OKLaboklab(39.46% 0.0041 -0.1461)
OKLCHoklch(39.46% 0.146 271.6)
XYZxyz(7.8599, 5.6898, 28.2821)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A93 #93862D
analogous
#2D6D93 #2D3A93 #532D93
triadic
#2D3A93 #932D3A #3A932D
tetradic
#2D3A93 #932D6D #93862D #2D9353
square
#2D3A93 #932D6D #93862D #2D9353
split-complementary
#2D3A93 #93532D #6D932D
monochromatic
#101535 #1F2864 #2D3A93 #3B4CC2 #6976D1

Accessibility & contrast

On white

9.82
#2D3A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D3A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A93
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A93#FFFFFF#000000##FFFFFF
##2D3A931.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3a93;
/* rgb */ color: rgb(45, 58, 147);
/* oklch */ color: oklch(39.5% 0.146 271.6);
Tailwind
colors: {
  custom: {
    50: '#7370b3',
    500: '#2d3a93',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a93;
$custom-light: #7370b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a93",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 232.353,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.14613,
    "h": 271.6
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#2D3A93
secondary
#B8AD64
accent
#CA4BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3A93

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

Preview Lab → · Contrast checker → · Palette generator →

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