#2D3C94#2D3C94

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

Color values

HEX#2D3C94
RGBrgb(45, 60, 148)
HSLhsl(231, 53%, 38%)
HSVhsv(231, 70%, 58%)
CMYKcmyk(69.6%, 59.5%, 0%, 42%)
CIE-LABlab(29.23, 24.55, -50.30)
CIE-LCHlch(29.23, 55.98, 296.02°)
OKLaboklab(39.94% 0.0024 -0.1449)
OKLCHoklch(39.94% 0.145 271)
XYZxyz(8.0415, 5.9270, 28.7315)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C94 #94852D
analogous
#2D6F94 #2D3C94 #512D94
triadic
#2D3C94 #942D3C #3C942D
tetradic
#2D3C94 #942D6F #94852D #2D9451
square
#2D3C94 #942D6F #94852D #2D9451
split-complementary
#2D3C94 #94512D #6F942D
monochromatic
#101636 #1F2965 #2D3C94 #3B4FC3 #6A79D2

Accessibility & contrast

On white

9.61
#2D3C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D3C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C94
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C94#FFFFFF#000000##FFFFFF
##2D3C941.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3c94;
/* rgb */ color: rgb(45, 60, 148);
/* oklch */ color: oklch(39.9% 0.145 271.0);
Tailwind
colors: {
  custom: {
    50: '#7371b4',
    500: '#2d3c94',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c94;
$custom-light: #7371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c94",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 231.262,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.14495,
    "h": 271
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3C94

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

Preview Lab → · Contrast checker → · Palette generator →

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