#2B4199#2B4199

#2B4199 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.146 H 268.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4199
RGBrgb(43, 65, 153)
HSLhsl(228, 56%, 38%)
HSVhsv(228, 72%, 60%)
CMYKcmyk(71.9%, 57.5%, 0%, 40%)
CIE-LABlab(30.86, 22.77, -50.70)
CIE-LCHlch(30.86, 55.58, 294.19°)
OKLaboklab(41.26% -0.0037 -0.1461)
OKLCHoklch(41.26% 0.146 268.6)
XYZxyz(8.6343, 6.5932, 30.9484)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4199 #99832B
analogous
#2B7899 #2B4199 #4C2B99
triadic
#2B4199 #992B41 #41992B
tetradic
#2B4199 #992B78 #99832B #2B994C
square
#2B4199 #992B78 #99832B #2B994C
split-complementary
#2B4199 #994C2B #78992B
monochromatic
#101839 #1E2D69 #2B4199 #3A56C8 #697FD5

Accessibility & contrast

On white

9.06
#2B4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B4199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4199
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4199#FFFFFF#000000##FFFFFF
##2B41991.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4199;
/* rgb */ color: rgb(43, 65, 153);
/* oklch */ color: oklch(41.3% 0.146 268.6);
Tailwind
colors: {
  custom: {
    50: '#7375b8',
    500: '#2b4199',
    950: '#000000',
  },
}
SCSS
$custom: #2b4199;
$custom-light: #7375b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4199",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 228,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41258,
    "c": 0.14613,
    "h": 268.6
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#2B4199
secondary
#BCAA64
accent
#C148DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4199

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

Preview Lab → · Contrast checker → · Palette generator →

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