#2B276E#2B276E

#2B276E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.119 H 279.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#2B276E
RGBrgb(43, 39, 110)
HSLhsl(243, 48%, 29%)
HSVhsv(243, 65%, 43%)
CMYKcmyk(60.9%, 64.5%, 0%, 56.9%)
CIE-LABlab(20.40, 24.45, -40.78)
CIE-LCHlch(20.40, 47.55, 300.95°)
OKLaboklab(32.39% 0.0206 -0.1172)
OKLCHoklch(32.39% 0.119 279.9)
XYZxyz(4.5354, 3.0901, 15.1063)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B276E #6A6E27
analogous
#27476E #2B276E #4F276E
triadic
#2B276E #6E2B27 #276E2B
tetradic
#2B276E #6E2747 #6A6E27 #276E4F
square
#2B276E #6E2747 #6A6E27 #276E4F
split-complementary
#2B276E #6E4F27 #476E27
monochromatic
#090817 #191741 #2B276E #3D379B #554FC1

Accessibility & contrast

On white

12.98
#2B276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B276E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B276E#FFFFFF#000000##FFFFFF
##2B276E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#033846
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b276e;
/* rgb */ color: rgb(43, 39, 110);
/* oklch */ color: oklch(32.4% 0.119 279.9);
Tailwind
colors: {
  custom: {
    50: '#6c6198',
    500: '#2b276e',
    950: '#000000',
  },
}
SCSS
$custom: #2b276e;
$custom-light: #6c6198;
$custom-dark: #000000;
JSON
{
  "hex": "#2b276e",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 243.38,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32388,
    "c": 0.11897,
    "h": 279.9
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#2B276E
secondary
#9CA150
accent
#D751D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B276E

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

Preview Lab → · Contrast checker → · Palette generator →

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