#2D3366#2D3366

#2D3366 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.088 H 275.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2D3366
RGBrgb(45, 51, 102)
HSLhsl(234, 39%, 29%)
HSVhsv(234, 56%, 40%)
CMYKcmyk(55.9%, 50%, 0%, 60%)
CIE-LABlab(23.29, 13.71, -30.93)
CIE-LCHlch(23.29, 33.83, 293.91°)
OKLaboklab(34.39% 0.0088 -0.0881)
OKLCHoklch(34.39% 0.088 275.7)
XYZxyz(4.6635, 3.8846, 13.0718)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3366 #66602D
analogous
#2D5066 #2D3366 #442D66
triadic
#2D3366 #662D33 #33662D
tetradic
#2D3366 #662D50 #66602D #2D6644
square
#2D3366 #662D50 #66602D #2D6644
split-complementary
#2D3366 #66442D #50662D
monochromatic
#090B15 #1A1E3C #2D3366 #404890 #5862B5

Accessibility & contrast

On white

11.82
#2D3366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D3366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3366
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3366#FFFFFF#000000##FFFFFF
##2D33661.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#163565
Tritanopia (blue-blind)
#133E47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3366;
/* rgb */ color: rgb(45, 51, 102);
/* oklch */ color: oklch(34.4% 0.088 275.7);
Tailwind
colors: {
  custom: {
    50: '#6b6a92',
    500: '#2d3366',
    950: '#000000',
  },
}
SCSS
$custom: #2d3366;
$custom-light: #6b6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3366",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 233.684,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34391,
    "c": 0.08849,
    "h": 275.7
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#2D3366
secondary
#989157
accent
#C259CF
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D3366

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

Preview Lab → · Contrast checker → · Palette generator →

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