#2B399E#2B399E

#2B399E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.163 H 270.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2B399E
RGBrgb(43, 57, 158)
HSLhsl(233, 57%, 39%)
HSVhsv(233, 73%, 62%)
CMYKcmyk(72.8%, 63.9%, 0%, 38%)
CIE-LABlab(29.18, 29.99, -56.49)
CIE-LCHlch(29.18, 63.95, 297.96°)
OKLaboklab(40.14% 0.0025 -0.1632)
OKLCHoklch(40.14% 0.163 270.9)
XYZxyz(8.6288, 5.9076, 33.0267)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B399E #9E902B
analogous
#2B739E #2B399E #572B9E
triadic
#2B399E #9E2B39 #399E2B
tetradic
#2B399E #9E2B73 #9E902B #2B9E57
square
#2B399E #9E2B73 #9E902B #2B9E57
split-complementary
#2B399E #9E572B #739E2B
monochromatic
#11163E #1E286E #2B399E #3C4DCA #6C79D7

Accessibility & contrast

On white

9.63
#2B399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B399E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B399E#FFFFFF#000000##FFFFFF
##2B399E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b399e;
/* rgb */ color: rgb(43, 57, 158);
/* oklch */ color: oklch(40.1% 0.163 270.9);
Tailwind
colors: {
  custom: {
    50: '#756fbc',
    500: '#2b399e',
    950: '#000000',
  },
}
SCSS
$custom: #2b399e;
$custom-light: #756fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b399e",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 232.696,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.16318,
    "h": 270.9
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#2B399E
secondary
#BEB367
accent
#CE47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B399E

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

Preview Lab → · Contrast checker → · Palette generator →

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