#2D3E98#2D3E98

#2D3E98 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.148 H 270.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2D3E98
RGBrgb(45, 62, 152)
HSLhsl(230, 54%, 39%)
HSVhsv(230, 70%, 60%)
CMYKcmyk(70.4%, 59.2%, 0%, 40.4%)
CIE-LABlab(30.08, 24.71, -51.36)
CIE-LCHlch(30.08, 56.99, 295.69°)
OKLaboklab(40.68% 0.0008 -0.148)
OKLCHoklch(40.68% 0.148 270.3)
XYZxyz(8.4704, 6.2693, 30.4634)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E98 #98872D
analogous
#2D7398 #2D3E98 #512D98
triadic
#2D3E98 #982D3E #3E982D
tetradic
#2D3E98 #982D73 #98872D #2D9851
square
#2D3E98 #982D73 #98872D #2D9851
split-complementary
#2D3E98 #98512D #73982D
monochromatic
#11173A #1F2B69 #2D3E98 #3D52C5 #6C7CD3

Accessibility & contrast

On white

9.32
#2D3E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D3E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E98
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E98#FFFFFF#000000##FFFFFF
##2D3E981.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3e98;
/* rgb */ color: rgb(45, 62, 152);
/* oklch */ color: oklch(40.7% 0.148 270.3);
Tailwind
colors: {
  custom: {
    50: '#7473b7',
    500: '#2d3e98',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e98;
$custom-light: #7473b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e98",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 230.467,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40679,
    "c": 0.148,
    "h": 270.3
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#2D3E98
secondary
#BAAD66
accent
#C64ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E98

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

Preview Lab → · Contrast checker → · Palette generator →

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