#2D348A#2D348A

#2D348A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.141 H 273.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2D348A
RGBrgb(45, 52, 138)
HSLhsl(235, 51%, 36%)
HSVhsv(235, 67%, 54%)
CMYKcmyk(67.4%, 62.3%, 0%, 45.9%)
CIE-LABlab(26.30, 26.22, -48.90)
CIE-LCHlch(26.30, 55.49, 298.20°)
OKLaboklab(37.51% 0.0095 -0.1409)
OKLCHoklch(37.51% 0.141 273.8)
XYZxyz(6.8961, 4.8482, 24.6122)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D348A #8A832D
analogous
#2D628A #2D348A #542D8A
triadic
#2D348A #8A2D34 #348A2D
tetradic
#2D348A #8A2D62 #8A832D #2D8A54
square
#2D348A #8A2D62 #8A832D #2D8A54
split-complementary
#2D348A #8A542D #628A2D
monochromatic
#0F112E #1E235C #2D348A #3C45B8 #656DCD

Accessibility & contrast

On white

10.66
#2D348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D348A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D348A#FFFFFF#000000##FFFFFF
##2D348A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d348a;
/* rgb */ color: rgb(45, 52, 138);
/* oklch */ color: oklch(37.5% 0.141 273.8);
Tailwind
colors: {
  custom: {
    50: '#726bad',
    500: '#2d348a',
    950: '#000000',
  },
}
SCSS
$custom: #2d348a;
$custom-light: #726bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d348a",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 235.484,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37511,
    "c": 0.14122,
    "h": 273.8
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#2D348A
secondary
#B3AD60
accent
#D04DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D348A

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

Preview Lab → · Contrast checker → · Palette generator →

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