#2D439B#2D439B

#2D439B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.146 H 268.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D439B
RGBrgb(45, 67, 155)
HSLhsl(228, 55%, 39%)
HSVhsv(228, 71%, 61%)
CMYKcmyk(71%, 56.8%, 0%, 39.2%)
CIE-LABlab(31.67, 22.47, -50.61)
CIE-LCHlch(31.67, 55.37, 293.95°)
OKLaboklab(41.94% -0.0033 -0.1457)
OKLCHoklch(41.94% 0.146 268.7)
XYZxyz(9.0037, 6.9379, 31.8686)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D439B #9B852D
analogous
#2D7A9B #2D439B #4E2D9B
triadic
#2D439B #9B2D43 #439B2D
tetradic
#2D439B #9B2D7A #9B852D #2D9B4E
square
#2D439B #9B2D7A #9B852D #2D9B4E
split-complementary
#2D439B #9B4E2D #7A9B2D
monochromatic
#111A3C #1F2E6C #2D439B #3E5AC7 #6E82D5

Accessibility & contrast

On white

8.79
#2D439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D439B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D439B#FFFFFF#000000##FFFFFF
##2D439B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d439b;
/* rgb */ color: rgb(45, 67, 155);
/* oklch */ color: oklch(41.9% 0.146 268.7);
Tailwind
colors: {
  custom: {
    50: '#7476b9',
    500: '#2d439b',
    950: '#000000',
  },
}
SCSS
$custom: #2d439b;
$custom-light: #7476b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d439b",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 228,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.14577,
    "h": 268.7
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#2D439B
secondary
#BCAB68
accent
#C149DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D439B

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

Preview Lab → · Contrast checker → · Palette generator →

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