#2B439D#2B439D

#2B439D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.149 H 268.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2B439D
RGBrgb(43, 67, 157)
HSLhsl(227, 57%, 39%)
HSVhsv(227, 73%, 62%)
CMYKcmyk(72.6%, 57.3%, 0%, 38.4%)
CIE-LABlab(31.72, 22.95, -51.74)
CIE-LCHlch(31.72, 56.60, 293.92°)
OKLaboklab(42% -0.0052 -0.1491)
OKLCHoklch(42% 0.149 268)
XYZxyz(9.0871, 6.9613, 32.7565)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B439D #9D852B
analogous
#2B7C9D #2B439D #4C2B9D
triadic
#2B439D #9D2B43 #439D2B
tetradic
#2B439D #9D2B7C #9D852B #2B9D4C
square
#2B439D #9D2B7C #9D852B #2B9D4C
split-complementary
#2B439D #9D4C2B #7C9D2B
monochromatic
#111A3D #1E2E6D #2B439D #3C5ACA #6C82D7

Accessibility & contrast

On white

8.78
#2B439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2B439D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B439D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B439D#FFFFFF#000000##FFFFFF
##2B439D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b439d;
/* rgb */ color: rgb(43, 67, 157);
/* oklch */ color: oklch(42.0% 0.149 268.0);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2b439d',
    950: '#000000',
  },
}
SCSS
$custom: #2b439d;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b439d",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 227.368,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41999,
    "c": 0.14919,
    "h": 268
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#2B439D
secondary
#BDAB66
accent
#C048E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B439D

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

Preview Lab → · Contrast checker → · Palette generator →

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