#2D3C98#2D3C98

#2D3C98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.151 H 270.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2D3C98
RGBrgb(45, 60, 152)
HSLhsl(232, 54%, 39%)
HSVhsv(232, 70%, 60%)
CMYKcmyk(70.4%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.55, 26.04, -52.22)
CIE-LCHlch(29.55, 58.35, 296.51°)
OKLaboklab(40.28% 0.0025 -0.1505)
OKLCHoklch(40.28% 0.151 270.9)
XYZxyz(8.3636, 6.0558, 30.4278)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C98 #98892D
analogous
#2D7198 #2D3C98 #532D98
triadic
#2D3C98 #982D3C #3C982D
tetradic
#2D3C98 #982D71 #98892D #2D9853
square
#2D3C98 #982D71 #98892D #2D9853
split-complementary
#2D3C98 #98532D #71982D
monochromatic
#11173A #1F2969 #2D3C98 #3D50C5 #6C7AD3

Accessibility & contrast

On white

9.50
#2D3C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D3C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C98
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C98#FFFFFF#000000##FFFFFF
##2D3C981.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3c98;
/* rgb */ color: rgb(45, 60, 152);
/* oklch */ color: oklch(40.3% 0.151 270.9);
Tailwind
colors: {
  custom: {
    50: '#7471b7',
    500: '#2d3c98',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c98;
$custom-light: #7471b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c98",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 231.589,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.15057,
    "h": 270.9
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#2D3C98
secondary
#BAAF66
accent
#C94ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3C98

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

Preview Lab → · Contrast checker → · Palette generator →

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