#2B2F80#2B2F80

#2B2F80 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.134 H 275.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2B2F80
RGBrgb(43, 47, 128)
HSLhsl(237, 50%, 34%)
HSVhsv(237, 66%, 50%)
CMYKcmyk(66.4%, 63.3%, 0%, 49.8%)
CIE-LABlab(24.01, 25.59, -46.38)
CIE-LCHlch(24.01, 52.97, 298.88°)
OKLaboklab(35.53% 0.0119 -0.1336)
OKLCHoklch(35.53% 0.134 275.1)
XYZxyz(5.9078, 4.1046, 20.8988)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F80 #807C2B
analogous
#2B5980 #2B2F80 #512B80
triadic
#2B2F80 #802B2F #2F802B
tetradic
#2B2F80 #802B59 #807C2B #2B8051
square
#2B2F80 #802B59 #807C2B #2B8051
split-complementary
#2B2F80 #80512B #59802B
monochromatic
#0C0D24 #1C1E52 #2B2F80 #3A40AE #5D62C9

Accessibility & contrast

On white

11.53
#2B2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F80
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F80#FFFFFF#000000##FFFFFF
##2B2F801.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2f80;
/* rgb */ color: rgb(43, 47, 128);
/* oklch */ color: oklch(35.5% 0.134 275.1);
Tailwind
colors: {
  custom: {
    50: '#6f67a6',
    500: '#2b2f80',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f80;
$custom-light: #6f67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f80",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 237.176,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.1341,
    "h": 275.1
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#2B2F80
secondary
#AEAA58
accent
#D34FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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