#2D3678#2D3678

#2D3678 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.112 H 273.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2D3678
RGBrgb(45, 54, 120)
HSLhsl(233, 45%, 32%)
HSVhsv(233, 63%, 47%)
CMYKcmyk(62.5%, 55%, 0%, 52.9%)
CIE-LABlab(25.42, 18.22, -39.04)
CIE-LCHlch(25.42, 43.08, 295.01°)
OKLaboklab(36.41% 0.0071 -0.1119)
OKLCHoklch(36.41% 0.112 273.6)
XYZxyz(5.7904, 4.5518, 18.3391)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3678 #786F2D
analogous
#2D5C78 #2D3678 #4A2D78
triadic
#2D3678 #782D36 #36782D
tetradic
#2D3678 #782D5C #786F2D #2D784A
square
#2D3678 #782D5C #786F2D #2D784A
split-complementary
#2D3678 #784A2D #5C782D
monochromatic
#0C0E1F #1C224B #2D3678 #3E4AA5 #5D69C2

Accessibility & contrast

On white

10.99
#2D3678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3678
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3678#FFFFFF#000000##FFFFFF
##2D36781.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3678;
/* rgb */ color: rgb(45, 54, 120);
/* oklch */ color: oklch(36.4% 0.112 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e6c9f',
    500: '#2d3678',
    950: '#000000',
  },
}
SCSS
$custom: #2d3678;
$custom-light: #6e6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3678",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 120
  },
  "hsl": {
    "h": 232.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36407,
    "c": 0.11211,
    "h": 273.6
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#2D3678
secondary
#A99F58
accent
#C553D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #2D3678

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

Preview Lab → · Contrast checker → · Palette generator →

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