#2B379F#2B379F

#2B379F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.167 H 271.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2B379F
RGBrgb(43, 55, 159)
HSLhsl(234, 57%, 40%)
HSVhsv(234, 73%, 62%)
CMYKcmyk(73%, 65.4%, 0%, 37.6%)
CIE-LABlab(28.77, 31.66, -57.76)
CIE-LCHlch(28.77, 65.87, 298.73°)
OKLaboklab(39.86% 0.0039 -0.1669)
OKLCHoklch(39.86% 0.167 271.3)
XYZxyz(8.6183, 5.7483, 33.4495)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B379F #9F932B
analogous
#2B719F #2B379F #592B9F
triadic
#2B379F #9F2B37 #379F2B
tetradic
#2B379F #9F2B71 #9F932B #2B9F59
square
#2B379F #9F2B71 #9F932B #2B9F59
split-complementary
#2B379F #9F592B #719F2B
monochromatic
#11163F #1E266F #2B379F #3D4BCA #6D78D7

Accessibility & contrast

On white

9.77
#2B379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B379F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B379F#FFFFFF#000000##FFFFFF
##2B379F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b379f;
/* rgb */ color: rgb(43, 55, 159);
/* oklch */ color: oklch(39.9% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#766ebc',
    500: '#2b379f',
    950: '#000000',
  },
}
SCSS
$custom: #2b379f;
$custom-light: #766ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b379f",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 233.793,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.16695,
    "h": 271.3
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#2B379F
secondary
#BEB567
accent
#D147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B379F

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

Preview Lab → · Contrast checker → · Palette generator →

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