#2D3E7E#2D3E7E

#2D3E7E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.110 H 269.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2D3E7E
RGBrgb(45, 62, 126)
HSLhsl(227, 47%, 34%)
HSVhsv(227, 64%, 49%)
CMYKcmyk(64.3%, 50.8%, 0%, 50.6%)
CIE-LABlab(28.14, 14.94, -38.44)
CIE-LCHlch(28.14, 41.24, 291.25°)
OKLaboklab(38.6% -0.001 -0.11)
OKLCHoklch(38.6% 0.11 269.5)
XYZxyz(6.5694, 5.5089, 20.4518)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E7E #7E6D2D
analogous
#2D667E #2D3E7E #442D7E
triadic
#2D3E7E #7E2D3E #3E7E2D
tetradic
#2D3E7E #7E2D66 #7E6D2D #2D7E44
square
#2D3E7E #7E2D66 #7E6D2D #2D7E44
split-complementary
#2D3E7E #7E442D #667E2D
monochromatic
#0D1224 #1D2851 #2D3E7E #3D54AB #5F75C6

Accessibility & contrast

On white

9.99
#2D3E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D3E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E7E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E7E#FFFFFF#000000##FFFFFF
##2D3E7E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#0C3F7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3e7e;
/* rgb */ color: rgb(45, 62, 126);
/* oklch */ color: oklch(38.6% 0.110 269.5);
Tailwind
colors: {
  custom: {
    50: '#6f72a4',
    500: '#2d3e7e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e7e;
$custom-light: #6f72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e7e",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 227.407,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.386,
    "c": 0.11,
    "h": 269.5
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#2D3E7E
secondary
#AC9B5A
accent
#BB51D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D3E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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