#2B2E65#2B2E65

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

Color values

HEX#2B2E65
RGBrgb(43, 46, 101)
HSLhsl(237, 40%, 28%)
HSVhsv(237, 57%, 40%)
CMYKcmyk(57.4%, 54.5%, 0%, 60.4%)
CIE-LABlab(21.60, 16.37, -32.98)
CIE-LCHlch(21.60, 36.82, 296.39°)
OKLaboklab(33.06% 0.0124 -0.0942)
OKLCHoklch(33.06% 0.095 277.5)
XYZxyz(4.3215, 3.4069, 12.7393)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E65 #65622B
analogous
#2B4B65 #2B2E65 #452B65
triadic
#2B2E65 #652B2E #2E652B
tetradic
#2B2E65 #652B4B #65622B #2B6545
square
#2B2E65 #652B4B #65622B #2B6545
split-complementary
#2B2E65 #65452B #4B652B
monochromatic
#090A15 #191A3A #2B2E65 #3D4290 #5459B6

Accessibility & contrast

On white

12.49
#2B2E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2E65
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E65#FFFFFF#000000##FFFFFF
##2B2E651.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113667
Deuteranopia (green-blind)
#093264
Tritanopia (blue-blind)
#0F3A44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2e65;
/* rgb */ color: rgb(43, 46, 101);
/* oklch */ color: oklch(33.1% 0.095 277.5);
Tailwind
colors: {
  custom: {
    50: '#6a6691',
    500: '#2b2e65',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e65;
$custom-light: #6a6691;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e65",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 236.897,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.09501,
    "h": 277.5
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#2B2E65
secondary
#979455
accent
#CA58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060D
muted
#7A7A7D

Preview Lab

Preview with #2B2E65

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

Preview Lab → · Contrast checker → · Palette generator →

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