#2B276F#2B276F

#2B276F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.120 H 279.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2B276F
RGBrgb(43, 39, 111)
HSLhsl(243, 48%, 29%)
HSVhsv(243, 65%, 44%)
CMYKcmyk(61.3%, 64.9%, 0%, 56.5%)
CIE-LABlab(20.49, 24.81, -41.28)
CIE-LCHlch(20.49, 48.16, 301.00°)
OKLaboklab(32.48% 0.0205 -0.1187)
OKLCHoklch(32.48% 0.12 279.8)
XYZxyz(4.5901, 3.1120, 15.3946)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B276F #6B6F27
analogous
#27476F #2B276F #4F276F
triadic
#2B276F #6F2B27 #276F2B
tetradic
#2B276F #6F2747 #6B6F27 #276F4F
square
#2B276F #6F2747 #6B6F27 #276F4F
split-complementary
#2B276F #6F4F27 #476F27
monochromatic
#090817 #191742 #2B276F #3D379C #564FC1

Accessibility & contrast

On white

12.94
#2B276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B276F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B276F#FFFFFF#000000##FFFFFF
##2B276F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#013947
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b276f;
/* rgb */ color: rgb(43, 39, 111);
/* oklch */ color: oklch(32.5% 0.120 279.8);
Tailwind
colors: {
  custom: {
    50: '#6c6199',
    500: '#2b276f',
    950: '#000000',
  },
}
SCSS
$custom: #2b276f;
$custom-light: #6c6199;
$custom-dark: #000000;
JSON
{
  "hex": "#2b276f",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 243.333,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32478,
    "c": 0.12043,
    "h": 279.8
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#2B276F
secondary
#9DA250
accent
#D850D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B276F

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

Preview Lab → · Contrast checker → · Palette generator →

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