#2D3D88#2D3D88

#2D3D88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.126 H 270.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2D3D88
RGBrgb(45, 61, 136)
HSLhsl(229, 50%, 35%)
HSVhsv(229, 67%, 53%)
CMYKcmyk(66.9%, 55.1%, 0%, 46.7%)
CIE-LABlab(28.57, 19.38, -43.97)
CIE-LCHlch(28.57, 48.06, 293.79°)
OKLaboklab(39.16% 0.001 -0.1263)
OKLCHoklch(39.16% 0.126 270.5)
XYZxyz(7.1934, 5.6723, 24.0036)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D88 #88782D
analogous
#2D6A88 #2D3D88 #4B2D88
triadic
#2D3D88 #882D3D #3D882D
tetradic
#2D3D88 #882D6A #88782D #2D884B
square
#2D3D88 #882D6A #88782D #2D884B
split-complementary
#2D3D88 #884B2D #6A882D
monochromatic
#0F142C #1E285A #2D3D88 #3C52B6 #6476CC

Accessibility & contrast

On white

9.84
#2D3D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D3D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D88
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D88#FFFFFF#000000##FFFFFF
##2D3D881.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3d88;
/* rgb */ color: rgb(45, 61, 136);
/* oklch */ color: oklch(39.2% 0.126 270.5);
Tailwind
colors: {
  custom: {
    50: '#7172ab',
    500: '#2d3d88',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d88;
$custom-light: #7172ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d88",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 229.451,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.1263,
    "h": 270.5
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#2D3D88
secondary
#B2A35F
accent
#C14EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3D88

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

Preview Lab → · Contrast checker → · Palette generator →

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