#2D2D6E#2D2D6E

#2D2D6E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.110 H 278.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2D2D6E
RGBrgb(45, 45, 110)
HSLhsl(240, 42%, 30%)
HSVhsv(240, 59%, 43%)
CMYKcmyk(59.1%, 59.1%, 0%, 56.9%)
CIE-LABlab(22.16, 20.77, -37.91)
CIE-LCHlch(22.16, 43.23, 298.71°)
OKLaboklab(33.73% 0.0167 -0.1086)
OKLCHoklch(33.73% 0.11 278.7)
XYZxyz(4.8342, 3.5601, 15.1813)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D6E #6E6E2D
analogous
#2D4D6E #2D2D6E #4D2D6E
triadic
#2D2D6E #6E2D2D #2D6E2D
tetradic
#2D2D6E #6E2D4D #6E6E2D #2D6E4D
square
#2D2D6E #6E2D4D #6E6E2D #2D6E4D
split-complementary
#2D2D6E #6E4D2D #4D6E2D
monochromatic
#090917 #1B1B43 #2D2D6E #3F3F99 #5A5ABB

Accessibility & contrast

On white

12.27
#2D2D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D2D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D6E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D6E#FFFFFF#000000##FFFFFF
##2D2D6E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#0A3C48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2d6e;
/* rgb */ color: rgb(45, 45, 110);
/* oklch */ color: oklch(33.7% 0.110 278.7);
Tailwind
colors: {
  custom: {
    50: '#6d6698',
    500: '#2d2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d6e;
$custom-light: #6d6698;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d6e",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3373,
    "c": 0.10993,
    "h": 278.7
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#2D2D6E
secondary
#A0A057
accent
#D256D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2D2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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