#2B2F68#2B2F68

#2B2F68 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.098 H 276.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2B2F68
RGBrgb(43, 47, 104)
HSLhsl(236, 41%, 29%)
HSVhsv(236, 59%, 41%)
CMYKcmyk(58.7%, 54.8%, 0%, 59.2%)
CIE-LABlab(22.11, 16.76, -34.12)
CIE-LCHlch(22.11, 38.02, 296.16°)
OKLaboklab(33.51% 0.0114 -0.0975)
OKLCHoklch(33.51% 0.098 276.7)
XYZxyz(4.5107, 3.5458, 13.5407)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F68 #68642B
analogous
#2B4E68 #2B2F68 #462B68
triadic
#2B2F68 #682B2F #2F682B
tetradic
#2B2F68 #682B4E #68642B #2B6846
square
#2B2F68 #682B4E #68642B #2B6846
split-complementary
#2B2F68 #68462B #4E682B
monochromatic
#090A16 #191B3D #2B2F68 #3D4393 #555BB9

Accessibility & contrast

On white

12.29
#2B2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F68
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F68#FFFFFF#000000##FFFFFF
##2B2F681.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10376A
Deuteranopia (green-blind)
#063267
Tritanopia (blue-blind)
#0B3C46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2f68;
/* rgb */ color: rgb(43, 47, 104);
/* oklch */ color: oklch(33.5% 0.098 276.7);
Tailwind
colors: {
  custom: {
    50: '#6a6793',
    500: '#2b2f68',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f68;
$custom-light: #6a6793;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f68",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 236.066,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33507,
    "c": 0.09821,
    "h": 276.7
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#2B2F68
secondary
#9A9655
accent
#C956D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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