#2D3D7D#2D3D7D

#2D3D7D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.110 H 270.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2D3D7D
RGBrgb(45, 61, 125)
HSLhsl(228, 47%, 33%)
HSVhsv(228, 64%, 49%)
CMYKcmyk(64%, 51.2%, 0%, 51%)
CIE-LABlab(27.78, 15.26, -38.39)
CIE-LCHlch(27.78, 41.31, 291.67°)
OKLaboklab(38.31% 0 -0.1099)
OKLCHoklch(38.31% 0.11 270)
XYZxyz(6.4514, 5.3755, 20.0957)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D7D #7D6D2D
analogous
#2D657D #2D3D7D #452D7D
triadic
#2D3D7D #7D2D3D #3D7D2D
tetradic
#2D3D7D #7D2D65 #7D6D2D #2D7D45
square
#2D3D7D #7D2D65 #7D6D2D #2D7D45
split-complementary
#2D3D7D #7D452D #657D2D
monochromatic
#0D1123 #1D2750 #2D3D7D #3D53AA #5F73C5

Accessibility & contrast

On white

10.12
#2D3D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D3D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D7D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D7D#FFFFFF#000000##FFFFFF
##2D3D7D1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#0A3E7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3d7d;
/* rgb */ color: rgb(45, 61, 125);
/* oklch */ color: oklch(38.3% 0.110 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e72a3',
    500: '#2d3d7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d7d;
$custom-light: #6e72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d7d",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 228,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38305,
    "c": 0.10987,
    "h": 270
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#2D3D7D
secondary
#AC9B5A
accent
#BC51D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D3D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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