#2B399F#2B399F

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

Color values

HEX#2B399F
RGBrgb(43, 57, 159)
HSLhsl(233, 57%, 40%)
HSVhsv(233, 73%, 62%)
CMYKcmyk(73%, 64.2%, 0%, 37.6%)
CIE-LABlab(29.27, 30.36, -56.95)
CIE-LCHlch(29.27, 64.53, 298.06°)
OKLaboklab(40.23% 0.0025 -0.1645)
OKLCHoklch(40.23% 0.165 270.9)
XYZxyz(8.7153, 5.9422, 33.4818)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B399F #9F912B
analogous
#2B739F #2B399F #572B9F
triadic
#2B399F #9F2B39 #399F2B
tetradic
#2B399F #9F2B73 #9F912B #2B9F57
square
#2B399F #9F2B73 #9F912B #2B9F57
split-complementary
#2B399F #9F572B #739F2B
monochromatic
#11163F #1E286F #2B399F #3D4ECA #6D7AD7

Accessibility & contrast

On white

9.60
#2B399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B399F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B399F#FFFFFF#000000##FFFFFF
##2B399F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b399f;
/* rgb */ color: rgb(43, 57, 159);
/* oklch */ color: oklch(40.2% 0.165 270.9);
Tailwind
colors: {
  custom: {
    50: '#756fbc',
    500: '#2b399f',
    950: '#000000',
  },
}
SCSS
$custom: #2b399f;
$custom-light: #756fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b399f",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 232.759,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.16453,
    "h": 270.9
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#2B399F
secondary
#BEB467
accent
#CE47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B399F

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

Preview Lab → · Contrast checker → · Palette generator →

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