#2B2B62#2B2B62

#2B2B62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.095 H 279.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2B2B62
RGBrgb(43, 43, 98)
HSLhsl(240, 39%, 28%)
HSVhsv(240, 56%, 38%)
CMYKcmyk(56.1%, 56.1%, 0%, 61.6%)
CIE-LABlab(20.53, 17.39, -32.75)
CIE-LCHlch(20.53, 37.08, 297.96°)
OKLaboklab(32.18% 0.0159 -0.0935)
OKLCHoklch(32.18% 0.095 279.6)
XYZxyz(4.0641, 3.1229, 11.9415)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B62 #62622B
analogous
#2B4662 #2B2B62 #462B62
triadic
#2B2B62 #622B2B #2B622B
tetradic
#2B2B62 #622B46 #62622B #2B6246
square
#2B2B62 #622B46 #62622B #2B6246
split-complementary
#2B2B62 #62462B #46622B
monochromatic
#090915 #181837 #2B2B62 #3E3E8D #5454B4

Accessibility & contrast

On white

12.93
#2B2B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2B62
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B62#FFFFFF#000000##FFFFFF
##2B2B621.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3464
Deuteranopia (green-blind)
#062F61
Tritanopia (blue-blind)
#133742
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2b62;
/* rgb */ color: rgb(43, 43, 98);
/* oklch */ color: oklch(32.2% 0.095 279.6);
Tailwind
colors: {
  custom: {
    50: '#69648f',
    500: '#2b2b62',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b62;
$custom-light: #69648f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b62",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 240,
    "s": 39.007,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32181,
    "c": 0.09488,
    "h": 279.6
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#2B2B62
secondary
#949455
accent
#CF59CF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2B2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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