#2D346F#2D346F

#2D346F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.101 H 274.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2D346F
RGBrgb(45, 52, 111)
HSLhsl(234, 42%, 31%)
HSVhsv(234, 59%, 44%)
CMYKcmyk(59.5%, 53.2%, 0%, 56.5%)
CIE-LABlab(24.20, 16.29, -35.27)
CIE-LCHlch(24.20, 38.85, 294.78°)
OKLaboklab(35.28% 0.0086 -0.1008)
OKLCHoklch(35.28% 0.101 274.9)
XYZxyz(5.1785, 4.1612, 15.5662)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D346F #6F682D
analogous
#2D556F #2D346F #472D6F
triadic
#2D346F #6F2D34 #346F2D
tetradic
#2D346F #6F2D55 #6F682D #2D6F47
square
#2D346F #6F2D55 #6F682D #2D6F47
split-complementary
#2D346F #6F472D #556F2D
monochromatic
#0A0B18 #1B2043 #2D346F #3F489B #5A65BC

Accessibility & contrast

On white

11.46
#2D346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D346F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D346F#FFFFFF#000000##FFFFFF
##2D346F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#0A376E
Tritanopia (blue-blind)
#06414C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d346f;
/* rgb */ color: rgb(45, 52, 111);
/* oklch */ color: oklch(35.3% 0.101 274.9);
Tailwind
colors: {
  custom: {
    50: '#6c6b99',
    500: '#2d346f',
    950: '#000000',
  },
}
SCSS
$custom: #2d346f;
$custom-light: #6c6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d346f",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 233.636,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3528,
    "c": 0.10118,
    "h": 274.9
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#2D346F
secondary
#A19957
accent
#C556D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D346F

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

Preview Lab → · Contrast checker → · Palette generator →

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