#2B2F77#2B2F77

#2B2F77 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.121 H 275.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2F77
RGBrgb(43, 47, 119)
HSLhsl(237, 47%, 32%)
HSVhsv(237, 64%, 47%)
CMYKcmyk(63.9%, 60.5%, 0%, 53.3%)
CIE-LABlab(23.26, 22.28, -41.90)
CIE-LCHlch(23.26, 47.45, 298.00°)
OKLaboklab(34.74% 0.012 -0.1204)
OKLCHoklch(34.74% 0.121 275.7)
XYZxyz(5.3415, 3.8781, 17.9163)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F77 #77732B
analogous
#2B5577 #2B2F77 #4D2B77
triadic
#2B2F77 #772B2F #2F772B
tetradic
#2B2F77 #772B55 #77732B #2B774D
square
#2B2F77 #772B55 #77732B #2B774D
split-complementary
#2B2F77 #774D2B #55772B
monochromatic
#0B0B1D #1B1D4A #2B2F77 #3B41A4 #595FC3

Accessibility & contrast

On white

11.83
#2B2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F77
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F77#FFFFFF#000000##FFFFFF
##2B2F771.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2f77;
/* rgb */ color: rgb(43, 47, 119);
/* oklch */ color: oklch(34.7% 0.121 275.7);
Tailwind
colors: {
  custom: {
    50: '#6d679f',
    500: '#2b2f77',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f77;
$custom-light: #6d679f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f77",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 236.842,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34737,
    "c": 0.12101,
    "h": 275.7
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#2B2F77
secondary
#A9A455
accent
#D051D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2B2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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