#2B3D79#2B3D79

#2B3D79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.104 H 268.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3D79
RGBrgb(43, 61, 121)
HSLhsl(226, 48%, 32%)
HSVhsv(226, 64%, 47%)
CMYKcmyk(64.5%, 49.6%, 0%, 52.5%)
CIE-LABlab(27.38, 13.35, -36.52)
CIE-LCHlch(27.38, 38.88, 290.09°)
OKLaboklab(37.88% -0.0027 -0.1044)
OKLCHoklch(37.88% 0.104 268.5)
XYZxyz(6.1150, 5.2310, 18.7729)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D79 #79672B
analogous
#2B6479 #2B3D79 #402B79
triadic
#2B3D79 #792B3D #3D792B
tetradic
#2B3D79 #792B64 #79672B #2B7940
square
#2B3D79 #792B64 #79672B #2B7940
split-complementary
#2B3D79 #79402B #64792B
monochromatic
#0B0F1F #1B264C #2B3D79 #3B54A6 #5A73C4

Accessibility & contrast

On white

10.26
#2B3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B3D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D79
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D79#FFFFFF#000000##FFFFFF
##2B3D791.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447B
Deuteranopia (green-blind)
#113D78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3d79;
/* rgb */ color: rgb(43, 61, 121);
/* oklch */ color: oklch(37.9% 0.104 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d72a0',
    500: '#2b3d79',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d79;
$custom-light: #6d72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d79",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 226.154,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37883,
    "c": 0.10445,
    "h": 268.5
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#2B3D79
secondary
#AA9756
accent
#B851D7
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #2B3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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