#2B2D70#2B2D70

#2B2D70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.113 H 277.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2B2D70
RGBrgb(43, 45, 112)
HSLhsl(238, 45%, 30%)
HSVhsv(238, 62%, 44%)
CMYKcmyk(61.6%, 59.8%, 0%, 56.1%)
CIE-LABlab(22.16, 21.08, -39.21)
CIE-LCHlch(22.16, 44.52, 298.26°)
OKLaboklab(33.74% 0.0141 -0.1125)
OKLCHoklch(33.74% 0.113 277.1)
XYZxyz(4.8583, 3.5599, 15.7572)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D70 #706E2B
analogous
#2B4F70 #2B2D70 #4B2B70
triadic
#2B2D70 #702B2D #2D702B
tetradic
#2B2D70 #702B4F #706E2B #2B704B
square
#2B2D70 #702B4F #706E2B #2B704B
split-complementary
#2B2D70 #704B2B #4F702B
monochromatic
#090918 #1A1B44 #2B2D70 #3C3F9C #575ABE

Accessibility & contrast

On white

12.27
#2B2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B2D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D70
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D70#FFFFFF#000000##FFFFFF
##2B2D701.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2d70;
/* rgb */ color: rgb(43, 45, 112);
/* oklch */ color: oklch(33.7% 0.113 277.1);
Tailwind
colors: {
  custom: {
    50: '#6c669a',
    500: '#2b2d70',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d70;
$custom-light: #6c669a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d70",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 238.261,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33739,
    "c": 0.11341,
    "h": 277.1
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#2B2D70
secondary
#A2A055
accent
#D154D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2B2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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