#2B3999#2B3999

#2B3999 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.156 H 271.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2B3999
RGBrgb(43, 57, 153)
HSLhsl(232, 56%, 38%)
HSVhsv(232, 72%, 60%)
CMYKcmyk(71.9%, 62.7%, 0%, 40%)
CIE-LABlab(28.74, 28.14, -54.15)
CIE-LCHlch(28.74, 61.03, 297.46°)
OKLaboklab(39.68% 0.0027 -0.1563)
OKLCHoklch(39.68% 0.156 271)
XYZxyz(8.2072, 5.7389, 30.8060)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3999 #998B2B
analogous
#2B7099 #2B3999 #542B99
triadic
#2B3999 #992B39 #39992B
tetradic
#2B3999 #992B70 #998B2B #2B9954
square
#2B3999 #992B70 #998B2B #2B9954
split-complementary
#2B3999 #99542B #70992B
monochromatic
#101539 #1E2769 #2B3999 #3A4CC8 #6977D5

Accessibility & contrast

On white

9.78
#2B3999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B3999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3999
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3999#FFFFFF#000000##FFFFFF
##2B39991.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3999;
/* rgb */ color: rgb(43, 57, 153);
/* oklch */ color: oklch(39.7% 0.156 271.0);
Tailwind
colors: {
  custom: {
    50: '#746fb8',
    500: '#2b3999',
    950: '#000000',
  },
}
SCSS
$custom: #2b3999;
$custom-light: #746fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3999",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 153
  },
  "hsl": {
    "h": 232.364,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.15633,
    "h": 271
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#2B3999
secondary
#BCB064
accent
#CC48DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3999

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

Preview Lab → · Contrast checker → · Palette generator →

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