#2B2E80#2B2E80

#2B2E80 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.135 H 275.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2B2E80
RGBrgb(43, 46, 128)
HSLhsl(238, 50%, 34%)
HSVhsv(238, 66%, 50%)
CMYKcmyk(66.4%, 64.1%, 0%, 49.8%)
CIE-LABlab(23.76, 26.26, -46.80)
CIE-LCHlch(23.76, 53.66, 299.30°)
OKLaboklab(35.34% 0.0128 -0.1348)
OKLCHoklch(35.34% 0.135 275.4)
XYZxyz(5.8683, 4.0256, 20.8857)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E80 #807D2B
analogous
#2B5880 #2B2E80 #522B80
triadic
#2B2E80 #802B2E #2E802B
tetradic
#2B2E80 #802B58 #807D2B #2B8052
square
#2B2E80 #802B58 #807D2B #2B8052
split-complementary
#2B2E80 #80522B #58802B
monochromatic
#0C0D24 #1C1E52 #2B2E80 #3A3EAE #5D61C9

Accessibility & contrast

On white

11.63
#2B2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E80
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E80#FFFFFF#000000##FFFFFF
##2B2E801.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2e80;
/* rgb */ color: rgb(43, 46, 128);
/* oklch */ color: oklch(35.3% 0.135 275.4);
Tailwind
colors: {
  custom: {
    50: '#6f67a6',
    500: '#2b2e80',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e80;
$custom-light: #6f67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e80",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 237.882,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35336,
    "c": 0.13542,
    "h": 275.4
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#2B2E80
secondary
#AEAB58
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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