#2D348C#2D348C

#2D348C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.144 H 273.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2D348C
RGBrgb(45, 52, 140)
HSLhsl(236, 51%, 36%)
HSVhsv(236, 68%, 55%)
CMYKcmyk(67.9%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.47, 26.95, -49.87)
CIE-LCHlch(26.47, 56.69, 298.39°)
OKLaboklab(37.69% 0.0094 -0.1437)
OKLCHoklch(37.69% 0.144 273.7)
XYZxyz(7.0422, 4.9067, 25.3818)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D348C #8C852D
analogous
#2D648C #2D348C #562D8C
triadic
#2D348C #8C2D34 #348C2D
tetradic
#2D348C #8C2D64 #8C852D #2D8C56
square
#2D348C #8C2D64 #8C852D #2D8C56
split-complementary
#2D348C #8C562D #648C2D
monochromatic
#0F122F #1E235E #2D348C #3C45BA #666DCE

Accessibility & contrast

On white

10.60
#2D348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D348C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D348C#FFFFFF#000000##FFFFFF
##2D348C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d348c;
/* rgb */ color: rgb(45, 52, 140);
/* oklch */ color: oklch(37.7% 0.144 273.7);
Tailwind
colors: {
  custom: {
    50: '#726bae',
    500: '#2d348c',
    950: '#000000',
  },
}
SCSS
$custom: #2d348c;
$custom-light: #726bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d348c",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 235.579,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37689,
    "c": 0.14405,
    "h": 273.7
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#2D348C
secondary
#B4AE60
accent
#D04DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D348C

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

Preview Lab → · Contrast checker → · Palette generator →

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