#2D439D#2D439D

#2D439D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.149 H 268.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2D439D
RGBrgb(45, 67, 157)
HSLhsl(228, 55%, 40%)
HSVhsv(228, 71%, 62%)
CMYKcmyk(71.3%, 57.3%, 0%, 38.4%)
CIE-LABlab(31.82, 23.23, -51.57)
CIE-LCHlch(31.82, 56.56, 294.25°)
OKLaboklab(42.1% -0.0032 -0.1486)
OKLCHoklch(42.1% 0.149 268.8)
XYZxyz(9.1731, 7.0056, 32.7605)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D439D #9D872D
analogous
#2D7B9D #2D439D #4F2D9D
triadic
#2D439D #9D2D43 #439D2D
tetradic
#2D439D #9D2D7B #9D872D #2D9D4F
square
#2D439D #9D2D7B #9D872D #2D9D4F
split-complementary
#2D439D #9D4F2D #7B9D2D
monochromatic
#121A3E #1F2F6D #2D439D #3F5AC8 #6F83D6

Accessibility & contrast

On white

8.74
#2D439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D439D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D439D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D439D#FFFFFF#000000##FFFFFF
##2D439D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d439d;
/* rgb */ color: rgb(45, 67, 157);
/* oklch */ color: oklch(42.1% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#7576bb',
    500: '#2d439d',
    950: '#000000',
  },
}
SCSS
$custom: #2d439d;
$custom-light: #7576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d439d",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 228.214,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.1486,
    "h": 268.8
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#2D439D
secondary
#BDAC69
accent
#C149DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D439D

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

Preview Lab → · Contrast checker → · Palette generator →

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