#2B3379#2B3379

#2B3379 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.118 H 273.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2B3379
RGBrgb(43, 51, 121)
HSLhsl(234, 48%, 32%)
HSVhsv(234, 64%, 47%)
CMYKcmyk(64.5%, 57.9%, 0%, 52.5%)
CIE-LABlab(24.52, 20.27, -41.14)
CIE-LCHlch(24.52, 45.86, 296.23°)
OKLaboklab(35.72% 0.008 -0.1181)
OKLCHoklch(35.72% 0.118 273.9)
XYZxyz(5.6301, 4.2613, 18.6113)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3379 #79712B
analogous
#2B5A79 #2B3379 #4A2B79
triadic
#2B3379 #792B33 #33792B
tetradic
#2B3379 #792B5A #79712B #2B794A
square
#2B3379 #792B5A #79712B #2B794A
split-complementary
#2B3379 #794A2B #5A792B
monochromatic
#0B0D1F #1B204C #2B3379 #3B46A6 #5A65C4

Accessibility & contrast

On white

11.34
#2B3379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B3379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3379
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3379#FFFFFF#000000##FFFFFF
##2B33791.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b3379;
/* rgb */ color: rgb(43, 51, 121);
/* oklch */ color: oklch(35.7% 0.118 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d6aa0',
    500: '#2b3379',
    950: '#000000',
  },
}
SCSS
$custom: #2b3379;
$custom-light: #6d6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3379",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 233.846,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.1184,
    "h": 273.9
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#2B3379
secondary
#AAA256
accent
#C951D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2B3379

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

Preview Lab → · Contrast checker → · Palette generator →

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