#2D348B#2D348B

#2D348B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.143 H 273.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2D348B
RGBrgb(45, 52, 139)
HSLhsl(236, 51%, 36%)
HSVhsv(236, 68%, 55%)
CMYKcmyk(67.6%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.38, 26.59, -49.39)
CIE-LCHlch(26.38, 56.09, 298.30°)
OKLaboklab(37.6% 0.0094 -0.1423)
OKLCHoklch(37.6% 0.143 273.8)
XYZxyz(6.9688, 4.8773, 24.9953)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D348B #8B842D
analogous
#2D638B #2D348B #552D8B
triadic
#2D348B #8B2D34 #348B2D
tetradic
#2D348B #8B2D63 #8B842D #2D8B55
square
#2D348B #8B2D63 #8B842D #2D8B55
split-complementary
#2D348B #8B552D #638B2D
monochromatic
#0F112F #1E235D #2D348B #3C45B9 #656DCD

Accessibility & contrast

On white

10.63
#2D348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D348B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D348B#FFFFFF#000000##FFFFFF
##2D348B1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d348b;
/* rgb */ color: rgb(45, 52, 139);
/* oklch */ color: oklch(37.6% 0.143 273.8);
Tailwind
colors: {
  custom: {
    50: '#726bae',
    500: '#2d348b',
    950: '#000000',
  },
}
SCSS
$custom: #2d348b;
$custom-light: #726bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d348b",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 235.532,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.376,
    "c": 0.14263,
    "h": 273.8
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D348B

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

Preview Lab → · Contrast checker → · Palette generator →

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