#2B3F80#2B3F80

#2B3F80 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.112 H 268.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2B3F80
RGBrgb(43, 63, 128)
HSLhsl(226, 50%, 34%)
HSVhsv(226, 66%, 50%)
CMYKcmyk(66.4%, 50.8%, 0%, 49.8%)
CIE-LABlab(28.45, 14.63, -39.19)
CIE-LCHlch(28.45, 41.84, 290.47°)
OKLaboklab(38.85% -0.0039 -0.1122)
OKLCHoklch(38.85% 0.112 268)
XYZxyz(6.6687, 5.6265, 21.1525)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F80 #806C2B
analogous
#2B6980 #2B3F80 #412B80
triadic
#2B3F80 #802B3F #3F802B
tetradic
#2B3F80 #802B69 #806C2B #2B8041
square
#2B3F80 #802B69 #806C2B #2B8041
split-complementary
#2B3F80 #80412B #69802B
monochromatic
#0C1224 #1C2852 #2B3F80 #3A56AE #5D76C9

Accessibility & contrast

On white

9.88
#2B3F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B3F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F80
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F80#FFFFFF#000000##FFFFFF
##2B3F801.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4782
Deuteranopia (green-blind)
#083F7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3f80;
/* rgb */ color: rgb(43, 63, 128);
/* oklch */ color: oklch(38.9% 0.112 268.0);
Tailwind
colors: {
  custom: {
    50: '#6e73a5',
    500: '#2b3f80',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f80;
$custom-light: #6e73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f80",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 225.882,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3885,
    "c": 0.11232,
    "h": 268
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#2B3F80
secondary
#AE9A58
accent
#B94FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B3F80

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

Preview Lab → · Contrast checker → · Palette generator →

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