#2B3071#2B3071

#2B3071 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.111 H 275.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2B3071
RGBrgb(43, 48, 113)
HSLhsl(236, 45%, 31%)
HSVhsv(236, 62%, 44%)
CMYKcmyk(61.9%, 57.5%, 0%, 55.7%)
CIE-LABlab(23.07, 19.37, -38.39)
CIE-LCHlch(23.07, 43.00, 296.78°)
OKLaboklab(34.44% 0.0109 -0.1101)
OKLCHoklch(34.44% 0.111 275.6)
XYZxyz(5.0329, 3.8194, 16.0916)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3071 #716C2B
analogous
#2B5371 #2B3071 #492B71
triadic
#2B3071 #712B30 #30712B
tetradic
#2B3071 #712B53 #716C2B #2B7149
square
#2B3071 #712B53 #716C2B #2B7149
split-complementary
#2B3071 #71492B #53712B
monochromatic
#090A18 #1A1D45 #2B3071 #3C439D #575FBF

Accessibility & contrast

On white

11.90
#2B3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3071
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3071#FFFFFF#000000##FFFFFF
##2B30711.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b3071;
/* rgb */ color: rgb(43, 48, 113);
/* oklch */ color: oklch(34.4% 0.111 275.6);
Tailwind
colors: {
  custom: {
    50: '#6c689a',
    500: '#2b3071',
    950: '#000000',
  },
}
SCSS
$custom: #2b3071;
$custom-light: #6c689a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3071",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 235.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.11061,
    "h": 275.6
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#2B3071
secondary
#A39D55
accent
#CB53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3071

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

Preview Lab → · Contrast checker → · Palette generator →

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