#2D348F#2D348F

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

Color values

HEX#2D348F
RGBrgb(45, 52, 143)
HSLhsl(236, 52%, 37%)
HSVhsv(236, 69%, 56%)
CMYKcmyk(68.5%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.72, 28.05, -51.31)
CIE-LCHlch(26.72, 58.47, 298.67°)
OKLaboklab(37.96% 0.0093 -0.1479)
OKLCHoklch(37.96% 0.148 273.6)
XYZxyz(7.2665, 4.9964, 26.5627)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D348F #8F882D
analogous
#2D658F #2D348F #572D8F
triadic
#2D348F #8F2D34 #348F2D
tetradic
#2D348F #8F2D65 #8F882D #2D8F57
square
#2D348F #8F2D65 #8F882D #2D8F57
split-complementary
#2D348F #8F572D #658F2D
monochromatic
#101232 #1E2360 #2D348F #3C45BE #676FCF

Accessibility & contrast

On white

10.50
#2D348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D348F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D348F#FFFFFF#000000##FFFFFF
##2D348F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d348f;
/* rgb */ color: rgb(45, 52, 143);
/* oklch */ color: oklch(38.0% 0.148 273.6);
Tailwind
colors: {
  custom: {
    50: '#736bb1',
    500: '#2d348f',
    950: '#000000',
  },
}
SCSS
$custom: #2d348f;
$custom-light: #736bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d348f",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 235.714,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.14824,
    "h": 273.6
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#2D348F
secondary
#B6B062
accent
#D14CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D348F

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

Preview Lab → · Contrast checker → · Palette generator →

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