#2D348E#2D348E

#2D348E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.147 H 273.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2D348E
RGBrgb(45, 52, 142)
HSLhsl(236, 52%, 37%)
HSVhsv(236, 68%, 56%)
CMYKcmyk(68.3%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.64, 27.69, -50.83)
CIE-LCHlch(26.64, 57.88, 298.58°)
OKLaboklab(37.87% 0.0093 -0.1466)
OKLCHoklch(37.87% 0.147 273.6)
XYZxyz(7.1910, 4.9662, 26.1656)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D348E #8E872D
analogous
#2D658E #2D348E #572D8E
triadic
#2D348E #8E2D34 #348E2D
tetradic
#2D348E #8E2D65 #8E872D #2D8E57
square
#2D348E #8E2D65 #8E872D #2D8E57
split-complementary
#2D348E #8E572D #658E2D
monochromatic
#101231 #1E2360 #2D348E #3C45BC #676ECF

Accessibility & contrast

On white

10.53
#2D348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D348E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D348E#FFFFFF#000000##FFFFFF
##2D348E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d348e;
/* rgb */ color: rgb(45, 52, 142);
/* oklch */ color: oklch(37.9% 0.147 273.6);
Tailwind
colors: {
  custom: {
    50: '#736bb0',
    500: '#2d348e',
    950: '#000000',
  },
}
SCSS
$custom: #2d348e;
$custom-light: #736bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d348e",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 235.67,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37868,
    "c": 0.14685,
    "h": 273.6
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#2D348E
secondary
#B5AF61
accent
#D14CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D348E

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

Preview Lab → · Contrast checker → · Palette generator →

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