#2B2F57#2B2F57

#2B2F57 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.071 H 277.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2B2F57
RGBrgb(43, 47, 87)
HSLhsl(235, 34%, 25%)
HSVhsv(235, 51%, 34%)
CMYKcmyk(50.6%, 46%, 0%, 65.9%)
CIE-LABlab(20.96, 10.64, -24.80)
CIE-LCHlch(20.96, 26.99, 293.22°)
OKLaboklab(32.27% 0.009 -0.0702)
OKLCHoklch(32.27% 0.071 277.3)
XYZxyz(3.7325, 3.2345, 9.4426)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F57 #57532B
analogous
#2B4557 #2B2F57 #3D2B57
triadic
#2B2F57 #572B2F #2F572B
tetradic
#2B2F57 #572B45 #57532B #2B573D
square
#2B2F57 #572B45 #57532B #2B573D
split-complementary
#2B2F57 #573D2B #45572B
monochromatic
#0A0B14 #17192E #2B2F57 #3F4580 #535BA9

Accessibility & contrast

On white

12.75
#2B2F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F57
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F57#FFFFFF#000000##FFFFFF
##2B2F571.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203459
Deuteranopia (green-blind)
#1C3156
Tritanopia (blue-blind)
#1B373E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2f57;
/* rgb */ color: rgb(43, 47, 87);
/* oklch */ color: oklch(32.3% 0.071 277.3);
Tailwind
colors: {
  custom: {
    50: '#676786',
    500: '#2b2f57',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f57;
$custom-light: #676786;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f57",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 234.545,
    "s": 33.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32266,
    "c": 0.07076,
    "h": 277.3
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#2B2F57
secondary
#898455
accent
#C05ECA
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2B2F57

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

Preview Lab → · Contrast checker → · Palette generator →

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