#2B2B6D#2B2B6D

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

Color values

HEX#2B2B6D
RGBrgb(43, 43, 109)
HSLhsl(240, 43%, 30%)
HSVhsv(240, 61%, 43%)
CMYKcmyk(60.6%, 60.6%, 0%, 57.3%)
CIE-LABlab(21.38, 21.36, -38.55)
CIE-LCHlch(21.38, 44.07, 299.00°)
OKLaboklab(33.08% 0.0163 -0.1106)
OKLCHoklch(33.08% 0.112 278.4)
XYZxyz(4.6196, 3.3452, 14.8673)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B6D #6D6D2B
analogous
#2B4C6D #2B2B6D #4C2B6D
triadic
#2B2B6D #6D2B2B #2B6D2B
tetradic
#2B2B6D #6D2B4C #6D6D2B #2B6D4C
square
#2B2B6D #6D2B4C #6D6D2B #2B6D4C
split-complementary
#2B2B6D #6D4C2B #4C6D2B
monochromatic
#090916 #1A1A41 #2B2B6D #3C3C99 #5656BC

Accessibility & contrast

On white

12.58
#2B2B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2B6D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B6D#FFFFFF#000000##FFFFFF
##2B2B6D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#043B47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2b6d;
/* rgb */ color: rgb(43, 43, 109);
/* oklch */ color: oklch(33.1% 0.112 278.4);
Tailwind
colors: {
  custom: {
    50: '#6b6497',
    500: '#2b2b6d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b6d;
$custom-light: #6b6497;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b6d",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.11178,
    "h": 278.4
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#2B2B6D
secondary
#9F9F55
accent
#D355D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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