#2B2D60#2B2D60

#2B2D60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.089 H 278.5°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2B2D60
RGBrgb(43, 45, 96)
HSLhsl(238, 38%, 27%)
HSVhsv(238, 55%, 38%)
CMYKcmyk(55.2%, 53.1%, 0%, 62.4%)
CIE-LABlab(20.96, 15.26, -30.75)
CIE-LCHlch(20.96, 34.33, 296.40°)
OKLaboklab(32.46% 0.0132 -0.0876)
OKLCHoklch(32.46% 0.089 278.5)
XYZxyz(4.0453, 3.2346, 11.4753)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D60 #605E2B
analogous
#2B4860 #2B2D60 #442B60
triadic
#2B2D60 #602B2D #2D602B
tetradic
#2B2D60 #602B48 #605E2B #2B6044
square
#2B2D60 #602B48 #605E2B #2B6044
split-complementary
#2B2D60 #60442B #48602B
monochromatic
#090A15 #181936 #2B2D60 #3E418A #5357B2

Accessibility & contrast

On white

12.75
#2B2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D60
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D60#FFFFFF#000000##FFFFFF
##2B2D601.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#0F305F
Tritanopia (blue-blind)
#153842
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2d60;
/* rgb */ color: rgb(43, 45, 96);
/* oklch */ color: oklch(32.5% 0.089 278.5);
Tailwind
colors: {
  custom: {
    50: '#69658d',
    500: '#2b2d60',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d60;
$custom-light: #69658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d60",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 237.736,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.08861,
    "h": 278.5
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#2B2D60
secondary
#929055
accent
#CA5ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #2B2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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