#2B2E73#2B2E73

#2B2E73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.116 H 276.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2B2E73
RGBrgb(43, 46, 115)
HSLhsl(238, 46%, 31%)
HSVhsv(238, 63%, 45%)
CMYKcmyk(62.6%, 60%, 0%, 54.9%)
CIE-LABlab(22.67, 21.49, -40.31)
CIE-LCHlch(22.67, 45.68, 298.07°)
OKLaboklab(34.2% 0.0131 -0.1157)
OKLCHoklch(34.2% 0.116 276.4)
XYZxyz(5.0668, 3.7050, 16.6645)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E73 #73702B
analogous
#2B5273 #2B2E73 #4C2B73
triadic
#2B2E73 #732B2E #2E732B
tetradic
#2B2E73 #732B52 #73702B #2B734C
square
#2B2E73 #732B52 #73702B #2B734C
split-complementary
#2B2E73 #734C2B #52732B
monochromatic
#0A0A1A #1A1C46 #2B2E73 #3C40A0 #585CC1

Accessibility & contrast

On white

12.06
#2B2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E73
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E73#FFFFFF#000000##FFFFFF
##2B2E731.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2e73;
/* rgb */ color: rgb(43, 46, 115);
/* oklch */ color: oklch(34.2% 0.116 276.4);
Tailwind
colors: {
  custom: {
    50: '#6c669c',
    500: '#2b2e73',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e73;
$custom-light: #6c669c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e73",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 237.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34195,
    "c": 0.11647,
    "h": 276.4
  },
  "luminance": 0.03705
}

Semantic roles & 50–950 ramp

primary
#2B2E73
secondary
#A5A155
accent
#D053D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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