#2B3697#2B3697

#2B3697 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.157 H 271.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2B3697
RGBrgb(43, 54, 151)
HSLhsl(234, 56%, 38%)
HSVhsv(234, 72%, 59%)
CMYKcmyk(71.5%, 64.2%, 0%, 40.8%)
CIE-LABlab(27.81, 29.38, -54.46)
CIE-LCHlch(27.81, 61.88, 298.35°)
OKLaboklab(38.94% 0.005 -0.1572)
OKLCHoklch(38.94% 0.157 271.8)
XYZxyz(7.8995, 5.3855, 29.8954)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3697 #978C2B
analogous
#2B6C97 #2B3697 #562B97
triadic
#2B3697 #972B36 #36972B
tetradic
#2B3697 #972B6C #978C2B #2B9756
square
#2B3697 #972B6C #978C2B #2B9756
split-complementary
#2B3697 #97562B #6C972B
monochromatic
#101438 #1D2567 #2B3697 #3947C7 #6873D4

Accessibility & contrast

On white

10.11
#2B3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3697
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3697#FFFFFF#000000##FFFFFF
##2B36971.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3697;
/* rgb */ color: rgb(43, 54, 151);
/* oklch */ color: oklch(38.9% 0.157 271.8);
Tailwind
colors: {
  custom: {
    50: '#746db6',
    500: '#2b3697',
    950: '#000000',
  },
}
SCSS
$custom: #2b3697;
$custom-light: #746db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3697",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 233.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.15733,
    "h": 271.8
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#2B3697
secondary
#BBB263
accent
#D049DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3697

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

Preview Lab → · Contrast checker → · Palette generator →

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