#2D346D#2D346D

#2D346D is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.098 H 274.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2D346D
RGBrgb(45, 52, 109)
HSLhsl(233, 42%, 30%)
HSVhsv(233, 59%, 43%)
CMYKcmyk(58.7%, 52.3%, 0%, 57.3%)
CIE-LABlab(24.06, 15.56, -34.21)
CIE-LCHlch(24.06, 37.58, 294.45°)
OKLaboklab(35.13% 0.0084 -0.0977)
OKLCHoklch(35.13% 0.098 274.9)
XYZxyz(5.0696, 4.1176, 14.9927)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D346D #6D662D
analogous
#2D546D #2D346D #462D6D
triadic
#2D346D #6D2D34 #346D2D
tetradic
#2D346D #6D2D54 #6D662D #2D6D46
square
#2D346D #6D2D54 #6D662D #2D6D46
split-complementary
#2D346D #6D462D #546D2D
monochromatic
#090B16 #1B1F42 #2D346D #3F4998 #5A64BB

Accessibility & contrast

On white

11.52
#2D346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D346D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D346D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D346D#FFFFFF#000000##FFFFFF
##2D346D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#0E376C
Tritanopia (blue-blind)
#0A414B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d346d;
/* rgb */ color: rgb(45, 52, 109);
/* oklch */ color: oklch(35.1% 0.098 274.9);
Tailwind
colors: {
  custom: {
    50: '#6c6b97',
    500: '#2d346d',
    950: '#000000',
  },
}
SCSS
$custom: #2d346d;
$custom-light: #6c6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#2d346d",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 233.438,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35128,
    "c": 0.09806,
    "h": 274.9
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#2D346D
secondary
#9F9757
accent
#C456D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D346D

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

Preview Lab → · Contrast checker → · Palette generator →

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