#2B3076#2B3076

#2B3076 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.9% C 0.118 H 275.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2B3076
RGBrgb(43, 48, 118)
HSLhsl(236, 47%, 32%)
HSVhsv(236, 64%, 46%)
CMYKcmyk(63.6%, 59.3%, 0%, 53.7%)
CIE-LABlab(23.46, 21.22, -40.95)
CIE-LCHlch(23.46, 46.12, 297.39°)
OKLaboklab(34.85% 0.011 -0.1176)
OKLCHoklch(34.85% 0.118 275.3)
XYZxyz(5.3222, 3.9351, 17.6151)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3076 #76712B
analogous
#2B5676 #2B3076 #4C2B76
triadic
#2B3076 #762B30 #30762B
tetradic
#2B3076 #762B56 #76712B #2B764C
square
#2B3076 #762B56 #76712B #2B764C
split-complementary
#2B3076 #764C2B #56762B
monochromatic
#0A0C1C #1B1E49 #2B3076 #3B42A3 #5960C2

Accessibility & contrast

On white

11.75
#2B3076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B3076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3076
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3076#FFFFFF#000000##FFFFFF
##2B30761.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3076;
/* rgb */ color: rgb(43, 48, 118);
/* oklch */ color: oklch(34.9% 0.118 275.3);
Tailwind
colors: {
  custom: {
    50: '#6d689e',
    500: '#2b3076',
    950: '#000000',
  },
}
SCSS
$custom: #2b3076;
$custom-light: #6d689e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3076",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 236,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34853,
    "c": 0.11813,
    "h": 275.3
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#2B3076
secondary
#A8A255
accent
#CD52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2B3076

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

Preview Lab → · Contrast checker → · Palette generator →

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