#2D3670#2D3670

#2D3670 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.100 H 273.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3670
RGBrgb(45, 54, 112)
HSLhsl(232, 43%, 31%)
HSVhsv(232, 60%, 44%)
CMYKcmyk(59.8%, 51.8%, 0%, 56.1%)
CIE-LABlab(24.85, 15.26, -34.87)
CIE-LCHlch(24.85, 38.06, 293.64°)
OKLaboklab(35.79% 0.0064 -0.0996)
OKLCHoklch(35.79% 0.1 273.7)
XYZxyz(5.3250, 4.3657, 15.8881)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3670 #70672D
analogous
#2D5770 #2D3670 #452D70
triadic
#2D3670 #702D36 #36702D
tetradic
#2D3670 #702D57 #70672D #2D7045
square
#2D3670 #702D57 #70672D #2D7045
split-complementary
#2D3670 #70452D #57702D
monochromatic
#0A0C19 #1B2144 #2D3670 #3F4B9C #5A68BD

Accessibility & contrast

On white

11.21
#2D3670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D3670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3670
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3670#FFFFFF#000000##FFFFFF
##2D36701.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#0E386F
Tritanopia (blue-blind)
#04434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3670;
/* rgb */ color: rgb(45, 54, 112);
/* oklch */ color: oklch(35.8% 0.100 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c6c99',
    500: '#2d3670',
    950: '#000000',
  },
}
SCSS
$custom: #2d3670;
$custom-light: #6c6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3670",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 112
  },
  "hsl": {
    "h": 231.94,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35792,
    "c": 0.09981,
    "h": 273.7
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#2D3670
secondary
#A29857
accent
#C255D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3670

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

Preview Lab → · Contrast checker → · Palette generator →

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