#2B3B79#2B3B79

#2B3B79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.107 H 269.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2B3B79
RGBrgb(43, 59, 121)
HSLhsl(228, 48%, 32%)
HSVhsv(228, 64%, 47%)
CMYKcmyk(64.5%, 51.2%, 0%, 52.5%)
CIE-LABlab(26.80, 14.73, -37.46)
CIE-LCHlch(26.80, 40.25, 291.47°)
OKLaboklab(37.44% -0.0005 -0.1072)
OKLCHoklch(37.44% 0.107 269.7)
XYZxyz(6.0103, 5.0215, 18.7380)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B79 #79692B
analogous
#2B6279 #2B3B79 #422B79
triadic
#2B3B79 #792B3B #3B792B
tetradic
#2B3B79 #792B62 #79692B #2B7942
square
#2B3B79 #792B62 #79692B #2B7942
split-complementary
#2B3B79 #79422B #62792B
monochromatic
#0B0F1F #1B254C #2B3B79 #3B51A6 #5A70C4

Accessibility & contrast

On white

10.48
#2B3B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B3B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B79
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B79#FFFFFF#000000##FFFFFF
##2B3B791.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#0A3C78
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3b79;
/* rgb */ color: rgb(43, 59, 121);
/* oklch */ color: oklch(37.4% 0.107 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d70a0',
    500: '#2b3b79',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b79;
$custom-light: #6d70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b79",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 227.692,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.10721,
    "h": 269.7
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#2B3B79
secondary
#AA9956
accent
#BC51D7
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #2B3B79

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

Preview Lab → · Contrast checker → · Palette generator →

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