#2D3166#2D3166

#2D3166 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.092 H 277.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2D3166
RGBrgb(45, 49, 102)
HSLhsl(236, 39%, 29%)
HSVhsv(236, 56%, 40%)
CMYKcmyk(55.9%, 52%, 0%, 60%)
CIE-LABlab(22.70, 15.11, -31.87)
CIE-LCHlch(22.70, 35.27, 295.37°)
OKLaboklab(33.95% 0.0113 -0.0908)
OKLCHoklch(33.95% 0.092 277.1)
XYZxyz(4.5780, 3.7135, 13.0433)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3166 #66622D
analogous
#2D4E66 #2D3166 #462D66
triadic
#2D3166 #662D31 #31662D
tetradic
#2D3166 #662D4E #66622D #2D6646
square
#2D3166 #662D4E #66622D #2D6646
split-complementary
#2D3166 #66462D #4E662D
monochromatic
#090A15 #1A1D3C #2D3166 #404590 #585FB5

Accessibility & contrast

On white

12.05
#2D3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3166
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3166#FFFFFF#000000##FFFFFF
##2D31661.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183968
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#143D46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3166;
/* rgb */ color: rgb(45, 49, 102);
/* oklch */ color: oklch(33.9% 0.092 277.1);
Tailwind
colors: {
  custom: {
    50: '#6b6992',
    500: '#2d3166',
    950: '#000000',
  },
}
SCSS
$custom: #2d3166;
$custom-light: #6b6992;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3166",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 235.789,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33948,
    "c": 0.09153,
    "h": 277.1
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#2D3166
secondary
#989357
accent
#C659CF
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D3166

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

Preview Lab → · Contrast checker → · Palette generator →

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