#2B439F#2B439F

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

Color values

HEX#2B439F
RGBrgb(43, 67, 159)
HSLhsl(228, 57%, 40%)
HSVhsv(228, 73%, 62%)
CMYKcmyk(73%, 57.9%, 0%, 37.6%)
CIE-LABlab(31.88, 23.71, -52.69)
CIE-LCHlch(31.88, 57.78, 294.22°)
OKLaboklab(42.17% -0.0051 -0.1519)
OKLCHoklch(42.17% 0.152 268.1)
XYZxyz(9.2593, 7.0301, 33.6631)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B439F #9F872B
analogous
#2B7D9F #2B439F #4D2B9F
triadic
#2B439F #9F2B43 #439F2B
tetradic
#2B439F #9F2B7D #9F872B #2B9F4D
square
#2B439F #9F2B7D #9F872B #2B9F4D
split-complementary
#2B439F #9F4D2B #7D9F2B
monochromatic
#111A3F #1E2F6F #2B439F #3D5ACA #6D83D7

Accessibility & contrast

On white

8.73
#2B439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B439F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B439F#FFFFFF#000000##FFFFFF
##2B439F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b439f;
/* rgb */ color: rgb(43, 67, 159);
/* oklch */ color: oklch(42.2% 0.152 268.1);
Tailwind
colors: {
  custom: {
    50: '#7576bc',
    500: '#2b439f',
    950: '#000000',
  },
}
SCSS
$custom: #2b439f;
$custom-light: #7576bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b439f",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 227.586,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42166,
    "c": 0.15198,
    "h": 268.1
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B439F

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

Preview Lab → · Contrast checker → · Palette generator →

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