#2B379A#2B379A

#2B379A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.160 H 271.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2B379A
RGBrgb(43, 55, 154)
HSLhsl(234, 56%, 39%)
HSVhsv(234, 72%, 60%)
CMYKcmyk(72.1%, 64.3%, 0%, 39.6%)
CIE-LABlab(28.32, 29.83, -55.45)
CIE-LCHlch(28.32, 62.96, 298.28°)
OKLaboklab(39.4% 0.0041 -0.1601)
OKLCHoklch(39.4% 0.16 271.5)
XYZxyz(8.1932, 5.5782, 31.2105)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B379A #9A8E2B
analogous
#2B6E9A #2B379A #562B9A
triadic
#2B379A #9A2B37 #379A2B
tetradic
#2B379A #9A2B6E #9A8E2B #2B9A56
square
#2B379A #9A2B6E #9A8E2B #2B9A56
split-complementary
#2B379A #9A562B #6E9A2B
monochromatic
#10153A #1E266A #2B379A #3A49C8 #6A76D5

Accessibility & contrast

On white

9.93
#2B379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B379A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B379A#FFFFFF#000000##FFFFFF
##2B379A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b379a;
/* rgb */ color: rgb(43, 55, 154);
/* oklch */ color: oklch(39.4% 0.160 271.5);
Tailwind
colors: {
  custom: {
    50: '#746eb9',
    500: '#2b379a',
    950: '#000000',
  },
}
SCSS
$custom: #2b379a;
$custom-light: #746eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b379a",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 233.514,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39399,
    "c": 0.16019,
    "h": 271.5
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#2B379A
secondary
#BCB365
accent
#CF48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B379A

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

Preview Lab → · Contrast checker → · Palette generator →

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