#2D3D7B#2D3D7B

#2D3D7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.107 H 269.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2D3D7B
RGBrgb(45, 61, 123)
HSLhsl(228, 46%, 33%)
HSVhsv(228, 63%, 48%)
CMYKcmyk(63.4%, 50.4%, 0%, 51.8%)
CIE-LABlab(27.64, 14.51, -37.35)
CIE-LCHlch(27.64, 40.07, 291.23°)
OKLaboklab(38.16% -0.0003 -0.1068)
OKLCHoklch(38.16% 0.107 269.8)
XYZxyz(6.3249, 5.3249, 19.4296)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D7B #7B6B2D
analogous
#2D647B #2D3D7B #442D7B
triadic
#2D3D7B #7B2D3D #3D7B2D
tetradic
#2D3D7B #7B2D64 #7B6B2D #2D7B44
square
#2D3D7B #7B2D64 #7B6B2D #2D7B44
split-complementary
#2D3D7B #7B442D #647B2D
monochromatic
#0C1121 #1D274E #2D3D7B #3D53A8 #5E73C4

Accessibility & contrast

On white

10.17
#2D3D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3D7B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D7B#FFFFFF#000000##FFFFFF
##2D3D7B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3d7b;
/* rgb */ color: rgb(45, 61, 123);
/* oklch */ color: oklch(38.2% 0.107 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e72a2',
    500: '#2d3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d7b;
$custom-light: #6e72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d7b",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 227.692,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.10683,
    "h": 269.8
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#2D3D7B
secondary
#AB9A59
accent
#BB52D6
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2D3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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