#2B3479#2B3479

#2B3479 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.9% C 0.117 H 273.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2B3479
RGBrgb(43, 52, 121)
HSLhsl(233, 48%, 32%)
HSVhsv(233, 64%, 47%)
CMYKcmyk(64.5%, 57%, 0%, 52.5%)
CIE-LABlab(24.80, 19.58, -40.69)
CIE-LCHlch(24.80, 45.15, 295.69°)
OKLaboklab(35.93% 0.0069 -0.1168)
OKLCHoklch(35.93% 0.117 273.4)
XYZxyz(5.6743, 4.3496, 18.6260)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3479 #79702B
analogous
#2B5B79 #2B3479 #492B79
triadic
#2B3479 #792B34 #34792B
tetradic
#2B3479 #792B5B #79702B #2B7949
square
#2B3479 #792B5B #79702B #2B7949
split-complementary
#2B3479 #79492B #5B792B
monochromatic
#0B0D1F #1B214C #2B3479 #3B47A6 #5A66C4

Accessibility & contrast

On white

11.23
#2B3479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B3479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3479
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3479#FFFFFF#000000##FFFFFF
##2B34791.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3479;
/* rgb */ color: rgb(43, 52, 121);
/* oklch */ color: oklch(35.9% 0.117 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d6ba0',
    500: '#2b3479',
    950: '#000000',
  },
}
SCSS
$custom: #2b3479;
$custom-light: #6d6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3479",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 233.077,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35928,
    "c": 0.11701,
    "h": 273.4
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#2B3479
secondary
#AAA056
accent
#C851D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2B3479

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

Preview Lab → · Contrast checker → · Palette generator →

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