#2D396B#2D396B

#2D396B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.088 H 271.3°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2D396B
RGBrgb(45, 57, 107)
HSLhsl(228, 41%, 30%)
HSVhsv(228, 58%, 42%)
CMYKcmyk(57.9%, 46.7%, 0%, 58%)
CIE-LABlab(25.40, 11.35, -30.78)
CIE-LCHlch(25.40, 32.81, 290.24°)
OKLaboklab(36.1% 0.0019 -0.0876)
OKLCHoklch(36.1% 0.088 271.3)
XYZxyz(5.1983, 4.5453, 14.5105)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D396B #6B5F2D
analogous
#2D586B #2D396B #402D6B
triadic
#2D396B #6B2D39 #396B2D
tetradic
#2D396B #6B2D58 #6B5F2D #2D6B40
square
#2D396B #6B2D58 #6B5F2D #2D6B40
split-complementary
#2D396B #6B402D #586B2D
monochromatic
#090B16 #1B2240 #2D396B #3F5096 #596CB9

Accessibility & contrast

On white

11.00
#2D396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D396B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D396B#FFFFFF#000000##FFFFFF
##2D396B1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#1C3A6A
Tritanopia (blue-blind)
#0C444C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d396b;
/* rgb */ color: rgb(45, 57, 107);
/* oklch */ color: oklch(36.1% 0.088 271.3);
Tailwind
colors: {
  custom: {
    50: '#6b6f96',
    500: '#2d396b',
    950: '#000000',
  },
}
SCSS
$custom: #2d396b;
$custom-light: #6b6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d396b",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 228.387,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.08758,
    "h": 271.3
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#2D396B
secondary
#9D8F57
accent
#B957D1
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D396B

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

Preview Lab → · Contrast checker → · Palette generator →

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