#2D3C88#2D3C88

#2D3C88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.128 H 270.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2D3C88
RGBrgb(45, 60, 136)
HSLhsl(230, 50%, 35%)
HSVhsv(230, 67%, 53%)
CMYKcmyk(66.9%, 55.9%, 0%, 46.7%)
CIE-LABlab(28.29, 20.07, -44.42)
CIE-LCHlch(28.29, 48.75, 294.31°)
OKLaboklab(38.95% 0.002 -0.1276)
OKLCHoklch(38.95% 0.128 270.9)
XYZxyz(7.1405, 5.5665, 23.9859)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C88 #88792D
analogous
#2D6988 #2D3C88 #4B2D88
triadic
#2D3C88 #882D3C #3C882D
tetradic
#2D3C88 #882D69 #88792D #2D884B
square
#2D3C88 #882D69 #88792D #2D884B
split-complementary
#2D3C88 #884B2D #69882D
monochromatic
#0F132C #1E285A #2D3C88 #3C50B6 #6475CC

Accessibility & contrast

On white

9.94
#2D3C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D3C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C88
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C88#FFFFFF#000000##FFFFFF
##2D3C881.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04478B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3c88;
/* rgb */ color: rgb(45, 60, 136);
/* oklch */ color: oklch(38.9% 0.128 270.9);
Tailwind
colors: {
  custom: {
    50: '#7171ab',
    500: '#2d3c88',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c88;
$custom-light: #7171ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c88",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 136
  },
  "hsl": {
    "h": 230.11,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.12766,
    "h": 270.9
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#2D3C88
secondary
#B2A45F
accent
#C34EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3C88

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

Preview Lab → · Contrast checker → · Palette generator →

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