#2B399C#2B399C

#2B399C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.160 H 270.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2B399C
RGBrgb(43, 57, 156)
HSLhsl(233, 57%, 39%)
HSVhsv(233, 72%, 61%)
CMYKcmyk(72.4%, 63.5%, 0%, 38.8%)
CIE-LABlab(29.00, 29.25, -55.56)
CIE-LCHlch(29.00, 62.78, 297.76°)
OKLaboklab(39.95% 0.0026 -0.1604)
OKLCHoklch(39.95% 0.16 270.9)
XYZxyz(8.4581, 5.8393, 32.1274)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B399C #9C8E2B
analogous
#2B729C #2B399C #562B9C
triadic
#2B399C #9C2B39 #399C2B
tetradic
#2B399C #9C2B72 #9C8E2B #2B9C56
square
#2B399C #9C2B72 #9C8E2B #2B9C56
split-complementary
#2B399C #9C562B #729C2B
monochromatic
#11163C #1E276C #2B399C #3B4DC9 #6B78D6

Accessibility & contrast

On white

9.69
#2B399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B399C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B399C#FFFFFF#000000##FFFFFF
##2B399C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b399c;
/* rgb */ color: rgb(43, 57, 156);
/* oklch */ color: oklch(40.0% 0.160 270.9);
Tailwind
colors: {
  custom: {
    50: '#756fba',
    500: '#2b399c',
    950: '#000000',
  },
}
SCSS
$custom: #2b399c;
$custom-light: #756fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b399c",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 232.566,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.16045,
    "h": 270.9
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#2B399C
secondary
#BDB266
accent
#CD48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B399C

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

Preview Lab → · Contrast checker → · Palette generator →

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