#2B2D64#2B2D64

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

Color values

HEX#2B2D64
RGBrgb(43, 45, 100)
HSLhsl(238, 40%, 28%)
HSVhsv(238, 57%, 39%)
CMYKcmyk(57%, 55%, 0%, 60.8%)
CIE-LABlab(21.25, 16.71, -32.91)
CIE-LCHlch(21.25, 36.91, 296.91°)
OKLaboklab(32.77% 0.0136 -0.094)
OKLCHoklch(32.77% 0.095 278.2)
XYZxyz(4.2342, 3.3102, 12.4699)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D64 #64622B
analogous
#2B4964 #2B2D64 #452B64
triadic
#2B2D64 #642B2D #2D642B
tetradic
#2B2D64 #642B49 #64622B #2B6445
square
#2B2D64 #642B49 #64622B #2B6445
split-complementary
#2B2D64 #64452B #49642B
monochromatic
#090A15 #191A39 #2B2D64 #3D408F #5457B5

Accessibility & contrast

On white

12.64
#2B2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D64
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D64#FFFFFF#000000##FFFFFF
##2B2D641.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103566
Deuteranopia (green-blind)
#083163
Tritanopia (blue-blind)
#113944
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2d64;
/* rgb */ color: rgb(43, 45, 100);
/* oklch */ color: oklch(32.8% 0.095 278.2);
Tailwind
colors: {
  custom: {
    50: '#6a6590',
    500: '#2b2d64',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d64;
$custom-light: #6a6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d64",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 237.895,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32765,
    "c": 0.09496,
    "h": 278.2
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#2B2D64
secondary
#969455
accent
#CC58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2B2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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