#2B4189#2B4189

#2B4189 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.123 H 267.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2B4189
RGBrgb(43, 65, 137)
HSLhsl(226, 52%, 35%)
HSVhsv(226, 69%, 54%)
CMYKcmyk(68.6%, 52.6%, 0%, 46.3%)
CIE-LABlab(29.66, 16.68, -42.83)
CIE-LCHlch(29.66, 45.97, 291.28°)
OKLaboklab(39.97% -0.0049 -0.1229)
OKLCHoklch(39.97% 0.123 267.7)
XYZxyz(7.4004, 6.0996, 24.4494)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4189 #89732B
analogous
#2B7089 #2B4189 #442B89
triadic
#2B4189 #892B41 #41892B
tetradic
#2B4189 #892B70 #89732B #2B8944
square
#2B4189 #892B70 #89732B #2B8944
split-complementary
#2B4189 #89442B #70892B
monochromatic
#0E152C #1C2B5A #2B4189 #3A57B8 #617ACD

Accessibility & contrast

On white

9.46
#2B4189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B4189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4189
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4189#FFFFFF#000000##FFFFFF
##2B41891.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4189;
/* rgb */ color: rgb(43, 65, 137);
/* oklch */ color: oklch(40.0% 0.123 267.7);
Tailwind
colors: {
  custom: {
    50: '#7075ac',
    500: '#2b4189',
    950: '#000000',
  },
}
SCSS
$custom: #2b4189;
$custom-light: #7075ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4189",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 225.957,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.12303,
    "h": 267.7
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#2B4189
secondary
#B39F5C
accent
#BA4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4189

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

Preview Lab → · Contrast checker → · Palette generator →

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