#2D439F#2D439F

#2D439F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.151 H 268.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2D439F
RGBrgb(45, 67, 159)
HSLhsl(228, 56%, 40%)
HSVhsv(228, 72%, 62%)
CMYKcmyk(71.7%, 57.9%, 0%, 37.6%)
CIE-LABlab(31.98, 23.98, -52.53)
CIE-LCHlch(31.98, 57.74, 294.54°)
OKLaboklab(42.27% -0.0031 -0.1514)
OKLCHoklch(42.27% 0.151 268.8)
XYZxyz(9.3452, 7.0745, 33.6672)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D439F #9F892D
analogous
#2D7C9F #2D439F #502D9F
triadic
#2D439F #9F2D43 #439F2D
tetradic
#2D439F #9F2D7C #9F892D #2D9F50
square
#2D439F #9F2D7C #9F892D #2D9F50
split-complementary
#2D439F #9F502D #7C9F2D
monochromatic
#121B40 #202F6F #2D439F #405BC9 #7084D6

Accessibility & contrast

On white

8.70
#2D439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D439F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D439F#FFFFFF#000000##FFFFFF
##2D439F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d439f;
/* rgb */ color: rgb(45, 67, 159);
/* oklch */ color: oklch(42.3% 0.151 268.8);
Tailwind
colors: {
  custom: {
    50: '#7576bc',
    500: '#2d439f',
    950: '#000000',
  },
}
SCSS
$custom: #2d439f;
$custom-light: #7576bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d439f",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 228.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.1514,
    "h": 268.8
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#2D439F
secondary
#BEAE6A
accent
#C249DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D439F

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

Preview Lab → · Contrast checker → · Palette generator →

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