#2B2F73#2B2F73

#2B2F73 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.115 H 276.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2B2F73
RGBrgb(43, 47, 115)
HSLhsl(237, 46%, 31%)
HSVhsv(237, 63%, 45%)
CMYKcmyk(62.6%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.94, 20.80, -39.86)
CIE-LCHlch(22.94, 44.97, 297.56°)
OKLaboklab(34.4% 0.012 -0.1144)
OKLCHoklch(34.4% 0.115 276)
XYZxyz(5.1063, 3.7840, 16.6776)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F73 #736F2B
analogous
#2B5373 #2B2F73 #4B2B73
triadic
#2B2F73 #732B2F #2F732B
tetradic
#2B2F73 #732B53 #736F2B #2B734B
square
#2B2F73 #732B53 #736F2B #2B734B
split-complementary
#2B2F73 #734B2B #53732B
monochromatic
#0A0B1A #1A1D46 #2B2F73 #3C41A0 #585EC1

Accessibility & contrast

On white

11.95
#2B2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F73
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F73#FFFFFF#000000##FFFFFF
##2B2F731.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2f73;
/* rgb */ color: rgb(43, 47, 115);
/* oklch */ color: oklch(34.4% 0.115 276.0);
Tailwind
colors: {
  custom: {
    50: '#6c679c',
    500: '#2b2f73',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f73;
$custom-light: #6c679c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f73",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 236.667,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34398,
    "c": 0.11506,
    "h": 276
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#2B2F73
secondary
#A5A055
accent
#CE53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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