#2B439E#2B439E

#2B439E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.151 H 268.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2B439E
RGBrgb(43, 67, 158)
HSLhsl(227, 57%, 39%)
HSVhsv(227, 73%, 62%)
CMYKcmyk(72.8%, 57.6%, 0%, 38%)
CIE-LABlab(31.80, 23.32, -52.22)
CIE-LCHlch(31.80, 57.19, 294.07°)
OKLaboklab(42.08% -0.0051 -0.1505)
OKLCHoklch(42.08% 0.151 268.1)
XYZxyz(9.1728, 6.9956, 33.2080)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B439E #9E862B
analogous
#2B7D9E #2B439E #4C2B9E
triadic
#2B439E #9E2B43 #439E2B
tetradic
#2B439E #9E2B7D #9E862B #2B9E4C
square
#2B439E #9E2B7D #9E862B #2B9E4C
split-complementary
#2B439E #9E4C2B #7D9E2B
monochromatic
#111A3E #1E2F6E #2B439E #3C5ACA #6C83D7

Accessibility & contrast

On white

8.75
#2B439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B439E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B439E#FFFFFF#000000##FFFFFF
##2B439E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b439e;
/* rgb */ color: rgb(43, 67, 158);
/* oklch */ color: oklch(42.1% 0.151 268.1);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2b439e',
    950: '#000000',
  },
}
SCSS
$custom: #2b439e;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b439e",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 227.478,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42082,
    "c": 0.15059,
    "h": 268.1
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#2B439E
secondary
#BEAC67
accent
#C147E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B439E

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

Preview Lab → · Contrast checker → · Palette generator →

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