#2D379F#2D379F

#2D379F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.166 H 272.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2D379F
RGBrgb(45, 55, 159)
HSLhsl(235, 56%, 40%)
HSVhsv(235, 72%, 62%)
CMYKcmyk(71.7%, 65.4%, 0%, 37.6%)
CIE-LABlab(28.88, 31.91, -57.57)
CIE-LCHlch(28.88, 65.82, 299.00°)
OKLaboklab(39.98% 0.0061 -0.1663)
OKLCHoklch(39.98% 0.166 272.1)
XYZxyz(8.7043, 5.7926, 33.4535)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D379F #9F952D
analogous
#2D709F #2D379F #5C2D9F
triadic
#2D379F #9F2D37 #379F2D
tetradic
#2D379F #9F2D70 #9F952D #2D9F5C
square
#2D379F #9F2D70 #9F952D #2D9F5C
split-complementary
#2D379F #9F5C2D #709F2D
monochromatic
#121640 #20266F #2D379F #404CC9 #7079D6

Accessibility & contrast

On white

9.73
#2D379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D379F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D379F#FFFFFF#000000##FFFFFF
##2D379F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d379f;
/* rgb */ color: rgb(45, 55, 159);
/* oklch */ color: oklch(40.0% 0.166 272.1);
Tailwind
colors: {
  custom: {
    50: '#766ebc',
    500: '#2d379f',
    950: '#000000',
  },
}
SCSS
$custom: #2d379f;
$custom-light: #766ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d379f",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 234.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.16641,
    "h": 272.1
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#2D379F
secondary
#BEB66A
accent
#D249DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D379F

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

Preview Lab → · Contrast checker → · Palette generator →

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