#2B3096#2B3096

#2B3096 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.163 H 273.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2B3096
RGBrgb(43, 48, 150)
HSLhsl(237, 55%, 38%)
HSVhsv(237, 71%, 59%)
CMYKcmyk(71.3%, 68%, 0%, 41.2%)
CIE-LABlab(26.24, 32.92, -56.41)
CIE-LCHlch(26.24, 65.32, 300.27°)
OKLaboklab(37.77% 0.0094 -0.163)
OKLCHoklch(37.77% 0.163 273.3)
XYZxyz(7.5564, 4.8288, 29.3821)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3096 #96912B
analogous
#2B6696 #2B3096 #5B2B96
triadic
#2B3096 #962B30 #30962B
tetradic
#2B3096 #962B66 #96912B #2B965B
square
#2B3096 #962B66 #96912B #2B965B
split-complementary
#2B3096 #965B2B #66962B
monochromatic
#101237 #1D2166 #2B3096 #393FC6 #686DD4

Accessibility & contrast

On white

10.68
#2B3096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B3096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3096
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3096#FFFFFF#000000##FFFFFF
##2B30961.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3096;
/* rgb */ color: rgb(43, 48, 150);
/* oklch */ color: oklch(37.8% 0.163 273.3);
Tailwind
colors: {
  custom: {
    50: '#7468b6',
    500: '#2b3096',
    950: '#000000',
  },
}
SCSS
$custom: #2b3096;
$custom-light: #7468b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3096",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 237.196,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37766,
    "c": 0.16327,
    "h": 273.3
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#2B3096
secondary
#BAB663
accent
#D849DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3096

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

Preview Lab → · Contrast checker → · Palette generator →

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