#2D396C#2D396C

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

Color values

HEX#2D396C
RGBrgb(45, 57, 108)
HSLhsl(229, 41%, 30%)
HSVhsv(229, 58%, 42%)
CMYKcmyk(58.3%, 47.2%, 0%, 57.6%)
CIE-LABlab(25.46, 11.72, -31.32)
CIE-LCHlch(25.46, 33.44, 290.51°)
OKLaboklab(36.17% 0.0021 -0.0891)
OKLCHoklch(36.17% 0.089 271.4)
XYZxyz(5.2512, 4.5665, 14.7892)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D396C #6C602D
analogous
#2D596C #2D396C #402D6C
triadic
#2D396C #6C2D39 #396C2D
tetradic
#2D396C #6C2D59 #6C602D #2D6C40
square
#2D396C #6C2D59 #6C602D #2D6C40
split-complementary
#2D396C #6C402D #596C2D
monochromatic
#090B16 #1B2241 #2D396C #3F5097 #596CBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D396C#FFFFFF#000000##FFFFFF
##2D396C1.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)
#223F6E
Deuteranopia (green-blind)
#1B3A6B
Tritanopia (blue-blind)
#0A444D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d396c;
/* rgb */ color: rgb(45, 57, 108);
/* oklch */ color: oklch(36.2% 0.089 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b6f96',
    500: '#2d396c',
    950: '#000000',
  },
}
SCSS
$custom: #2d396c;
$custom-light: #6b6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d396c",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 228.571,
    "s": 41.176,
    "l": 30
  },
  "oklch": {
    "l": 0.36174,
    "c": 0.08917,
    "h": 271.4
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#2D396C
secondary
#9E9057
accent
#BA57D1
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D396C

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

Preview Lab → · Contrast checker → · Palette generator →

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