#2B399A#2B399A

#2B399A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.158 H 271.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2B399A
RGBrgb(43, 57, 154)
HSLhsl(232, 56%, 39%)
HSVhsv(232, 72%, 60%)
CMYKcmyk(72.1%, 63%, 0%, 39.6%)
CIE-LABlab(28.83, 28.51, -54.62)
CIE-LCHlch(28.83, 61.61, 297.56°)
OKLaboklab(39.77% 0.0027 -0.1577)
OKLCHoklch(39.77% 0.158 271)
XYZxyz(8.2901, 5.7721, 31.2428)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B399A #9A8C2B
analogous
#2B709A #2B399A #542B9A
triadic
#2B399A #9A2B39 #399A2B
tetradic
#2B399A #9A2B70 #9A8C2B #2B9A54
square
#2B399A #9A2B70 #9A8C2B #2B9A54
split-complementary
#2B399A #9A542B #709A2B
monochromatic
#10163A #1E276A #2B399A #3A4CC8 #6A78D5

Accessibility & contrast

On white

9.75
#2B399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B399A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B399A#FFFFFF#000000##FFFFFF
##2B399A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b399a;
/* rgb */ color: rgb(43, 57, 154);
/* oklch */ color: oklch(39.8% 0.158 271.0);
Tailwind
colors: {
  custom: {
    50: '#746fb9',
    500: '#2b399a',
    950: '#000000',
  },
}
SCSS
$custom: #2b399a;
$custom-light: #746fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b399a",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 232.432,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.15771,
    "h": 271
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#2B399A
secondary
#BCB165
accent
#CD48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B399A

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

Preview Lab → · Contrast checker → · Palette generator →

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