#2B2D68#2B2D68

#2B2D68 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.101 H 277.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2B2D68
RGBrgb(43, 45, 104)
HSLhsl(238, 41%, 29%)
HSVhsv(238, 59%, 41%)
CMYKcmyk(58.7%, 56.7%, 0%, 59.2%)
CIE-LABlab(21.54, 18.16, -35.04)
CIE-LCHlch(21.54, 39.47, 297.40°)
OKLaboklab(33.08% 0.0138 -0.1003)
OKLCHoklch(33.08% 0.101 277.9)
XYZxyz(4.4325, 3.3895, 13.5147)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D68 #68662B
analogous
#2B4C68 #2B2D68 #482B68
triadic
#2B2D68 #682B2D #2D682B
tetradic
#2B2D68 #682B4C #68662B #2B6848
square
#2B2D68 #682B4C #68662B #2B6848
split-complementary
#2B2D68 #68482B #4C682B
monochromatic
#090916 #191A3D #2B2D68 #3D4093 #5558B9

Accessibility & contrast

On white

12.51
#2B2D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D68
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D68#FFFFFF#000000##FFFFFF
##2B2D681.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A366A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#0C3A45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2d68;
/* rgb */ color: rgb(43, 45, 104);
/* oklch */ color: oklch(33.1% 0.101 277.9);
Tailwind
colors: {
  custom: {
    50: '#6a6594',
    500: '#2b2d68',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d68;
$custom-light: #6a6594;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d68",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 238.033,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33081,
    "c": 0.10121,
    "h": 277.9
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#2B2D68
secondary
#9A9855
accent
#CD56D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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