#2B3699#2B3699

#2B3699 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.160 H 271.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2B3699
RGBrgb(43, 54, 153)
HSLhsl(234, 56%, 38%)
HSVhsv(234, 72%, 60%)
CMYKcmyk(71.9%, 64.7%, 0%, 40%)
CIE-LABlab(27.98, 30.12, -55.40)
CIE-LCHlch(27.98, 63.05, 298.53°)
OKLaboklab(39.12% 0.0049 -0.16)
OKLCHoklch(39.12% 0.16 271.8)
XYZxyz(8.0633, 5.4510, 30.7580)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3699 #998E2B
analogous
#2B6D99 #2B3699 #572B99
triadic
#2B3699 #992B36 #36992B
tetradic
#2B3699 #992B6D #998E2B #2B9957
square
#2B3699 #992B6D #998E2B #2B9957
split-complementary
#2B3699 #99572B #6D992B
monochromatic
#101439 #1E2569 #2B3699 #3A48C8 #6974D5

Accessibility & contrast

On white

10.05
#2B3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B3699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3699
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3699#FFFFFF#000000##FFFFFF
##2B36991.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3699;
/* rgb */ color: rgb(43, 54, 153);
/* oklch */ color: oklch(39.1% 0.160 271.8);
Tailwind
colors: {
  custom: {
    50: '#746db8',
    500: '#2b3699',
    950: '#000000',
  },
}
SCSS
$custom: #2b3699;
$custom-light: #746db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3699",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 234,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39122,
    "c": 0.16007,
    "h": 271.8
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#2B3699
secondary
#BCB364
accent
#D048DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3699

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

Preview Lab → · Contrast checker → · Palette generator →

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