#2B2A70#2B2A70

#2B2A70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.118 H 278.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2B2A70
RGBrgb(43, 42, 112)
HSLhsl(241, 45%, 30%)
HSVhsv(241, 63%, 44%)
CMYKcmyk(61.6%, 62.5%, 0%, 56.1%)
CIE-LABlab(21.35, 23.14, -40.52)
CIE-LCHlch(21.35, 46.66, 299.73°)
OKLaboklab(33.14% 0.0173 -0.1164)
OKLCHoklch(33.14% 0.118 278.5)
XYZxyz(4.7479, 3.3390, 15.7204)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A70 #6F702A
analogous
#2A4C70 #2B2A70 #4E2A70
triadic
#2B2A70 #702B2A #2A702B
tetradic
#2B2A70 #702A4C #6F702A #2A704E
square
#2B2A70 #702A4C #6F702A #2A704E
split-complementary
#2B2A70 #704E2A #4C702A
monochromatic
#090917 #1A1943 #2B2A70 #3C3B9D #5755BF

Accessibility & contrast

On white

12.59
#2B2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A70
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A70#FFFFFF#000000##FFFFFF
##2B2A701.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2a70;
/* rgb */ color: rgb(43, 42, 112);
/* oklch */ color: oklch(33.1% 0.118 278.5);
Tailwind
colors: {
  custom: {
    50: '#6c639a',
    500: '#2b2a70',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a70;
$custom-light: #6c639a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a70",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 240.857,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33142,
    "c": 0.11768,
    "h": 278.5
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#2B2A70
secondary
#A1A254
accent
#D553D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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