#2D348D#2D348D

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

Color values

HEX#2D348D
RGBrgb(45, 52, 141)
HSLhsl(236, 52%, 36%)
HSVhsv(236, 68%, 55%)
CMYKcmyk(68.1%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.55, 27.32, -50.35)
CIE-LCHlch(26.55, 57.28, 298.49°)
OKLaboklab(37.78% 0.0094 -0.1451)
OKLCHoklch(37.78% 0.145 273.7)
XYZxyz(7.1163, 4.9363, 25.7719)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D348D #8D862D
analogous
#2D648D #2D348D #562D8D
triadic
#2D348D #8D2D34 #348D2D
tetradic
#2D348D #8D2D64 #8D862D #2D8D56
square
#2D348D #8D2D64 #8D862D #2D8D56
split-complementary
#2D348D #8D562D #648D2D
monochromatic
#0F1230 #1E235F #2D348D #3C45BB #666ECE

Accessibility & contrast

On white

10.57
#2D348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D348D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D348D#FFFFFF#000000##FFFFFF
##2D348D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d348d;
/* rgb */ color: rgb(45, 52, 141);
/* oklch */ color: oklch(37.8% 0.145 273.7);
Tailwind
colors: {
  custom: {
    50: '#726baf',
    500: '#2d348d',
    950: '#000000',
  },
}
SCSS
$custom: #2d348d;
$custom-light: #726baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d348d",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 235.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.14545,
    "h": 273.7
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#2D348D
secondary
#B5AF61
accent
#D14DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D348D

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

Preview Lab → · Contrast checker → · Palette generator →

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