#2B2F4E#2B2F4E

#2B2F4E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.7% C 0.056 H 277.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#2B2F4E
RGBrgb(43, 47, 78)
HSLhsl(233, 29%, 24%)
HSVhsv(233, 45%, 31%)
CMYKcmyk(44.9%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.43, 7.53, -19.63)
CIE-LCHlch(20.43, 21.03, 290.99°)
OKLaboklab(31.68% 0.0069 -0.0551)
OKLCHoklch(31.68% 0.056 277.1)
XYZxyz(3.3875, 3.0965, 7.6254)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F4E #4E4A2B
analogous
#2B404E #2B2F4E #382B4E
triadic
#2B2F4E #4E2B2F #2F4E2B
tetradic
#2B2F4E #4E2B40 #4E4A2B #2B4E38
square
#2B2F4E #4E2B40 #4E4A2B #2B4E38
split-complementary
#2B2F4E #4E382B #404E2B
monochromatic
#0B0C14 #151727 #2B2F4E #414775 #565F9D

Accessibility & contrast

On white

12.97
#2B2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F4E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F4E#FFFFFF#000000##FFFFFF
##2B2F4E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24334F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#20353A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2f4e;
/* rgb */ color: rgb(43, 47, 78);
/* oklch */ color: oklch(31.7% 0.056 277.1);
Tailwind
colors: {
  custom: {
    50: '#66677f',
    500: '#2b2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f4e;
$custom-light: #66677f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f4e",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 233.143,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31683,
    "c": 0.05555,
    "h": 277.1
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#2B2F4E
secondary
#807B55
accent
#BA63C5
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2B2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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