#2B2D65#2B2D65

#2B2D65 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.097 H 278.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2D65
RGBrgb(43, 45, 101)
HSLhsl(238, 40%, 28%)
HSVhsv(238, 57%, 40%)
CMYKcmyk(57.4%, 55.4%, 0%, 60.4%)
CIE-LABlab(21.32, 17.07, -33.44)
CIE-LCHlch(21.32, 37.55, 297.04°)
OKLaboklab(32.84% 0.0136 -0.0956)
OKLCHoklch(32.84% 0.097 278.1)
XYZxyz(4.2829, 3.3297, 12.7264)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D65 #65632B
analogous
#2B4A65 #2B2D65 #462B65
triadic
#2B2D65 #652B2D #2D652B
tetradic
#2B2D65 #652B4A #65632B #2B6546
square
#2B2D65 #652B4A #65632B #2B6546
split-complementary
#2B2D65 #65462B #4A652B
monochromatic
#090A15 #191A3A #2B2D65 #3D4090 #5458B6

Accessibility & contrast

On white

12.61
#2B2D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2D65
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D65#FFFFFF#000000##FFFFFF
##2B2D651.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3667
Deuteranopia (green-blind)
#063164
Tritanopia (blue-blind)
#103A44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2d65;
/* rgb */ color: rgb(43, 45, 101);
/* oklch */ color: oklch(32.8% 0.097 278.1);
Tailwind
colors: {
  custom: {
    50: '#6a6591',
    500: '#2b2d65',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d65;
$custom-light: #6a6591;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d65",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 237.931,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32843,
    "c": 0.09653,
    "h": 278.1
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#2B2D65
secondary
#979555
accent
#CC58D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2B2D65

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

Preview Lab → · Contrast checker → · Palette generator →

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