#2D3A88#2D3A88

#2D3A88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.130 H 271.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2D3A88
RGBrgb(45, 58, 136)
HSLhsl(231, 50%, 35%)
HSVhsv(231, 67%, 53%)
CMYKcmyk(66.9%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.74, 21.43, -45.32)
CIE-LCHlch(27.74, 50.13, 295.31°)
OKLaboklab(38.53% 0.0039 -0.1303)
OKLCHoklch(38.53% 0.13 271.7)
XYZxyz(7.0377, 5.3609, 23.9517)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A88 #887B2D
analogous
#2D6788 #2D3A88 #4E2D88
triadic
#2D3A88 #882D3A #3A882D
tetradic
#2D3A88 #882D67 #887B2D #2D884E
square
#2D3A88 #882D67 #887B2D #2D884E
split-complementary
#2D3A88 #884E2D #67882D
monochromatic
#0F132C #1E265A #2D3A88 #3C4EB6 #6473CC

Accessibility & contrast

On white

10.13
#2D3A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D3A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A88
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A88#FFFFFF#000000##FFFFFF
##2D3A881.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3a88;
/* rgb */ color: rgb(45, 58, 136);
/* oklch */ color: oklch(38.5% 0.130 271.7);
Tailwind
colors: {
  custom: {
    50: '#7170ab',
    500: '#2d3a88',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a88;
$custom-light: #7170ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a88",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 231.429,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.13036,
    "h": 271.7
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#2D3A88
secondary
#B2A65F
accent
#C64EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3A88

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

Preview Lab → · Contrast checker → · Palette generator →

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