#2D3A67#2D3A67

#2D3A67 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.080 H 269.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2D3A67
RGBrgb(45, 58, 103)
HSLhsl(227, 39%, 29%)
HSVhsv(227, 56%, 40%)
CMYKcmyk(56.3%, 43.7%, 0%, 59.6%)
CIE-LABlab(25.45, 9.21, -28.12)
CIE-LCHlch(25.45, 29.59, 288.13°)
OKLaboklab(36.07% -0.0001 -0.0798)
OKLCHoklch(36.07% 0.08 269.9)
XYZxyz(5.0426, 4.5629, 13.4443)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A67 #675A2D
analogous
#2D5767 #2D3A67 #3D2D67
triadic
#2D3A67 #672D3A #3A672D
tetradic
#2D3A67 #672D57 #675A2D #2D673D
square
#2D3A67 #672D57 #675A2D #2D673D
split-complementary
#2D3A67 #673D2D #57672D
monochromatic
#090C15 #1A223C #2D3A67 #405292 #586DB6

Accessibility & contrast

On white

10.98
#2D3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A67
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A67#FFFFFF#000000##FFFFFF
##2D3A671.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273F69
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#11444B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3a67;
/* rgb */ color: rgb(45, 58, 103);
/* oklch */ color: oklch(36.1% 0.080 269.9);
Tailwind
colors: {
  custom: {
    50: '#6b6f92',
    500: '#2d3a67',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a67;
$custom-light: #6b6f92;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a67",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 226.552,
    "s": 39.189,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.07976,
    "h": 269.9
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#2D3A67
secondary
#998A57
accent
#B559CF
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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