#2B4191#2B4191

#2B4191 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.135 H 268.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2B4191
RGBrgb(43, 65, 145)
HSLhsl(227, 54%, 37%)
HSVhsv(227, 70%, 57%)
CMYKcmyk(70.3%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.25, 19.73, -46.81)
CIE-LCHlch(30.25, 50.80, 292.86°)
OKLaboklab(40.6% -0.0041 -0.1346)
OKLCHoklch(40.6% 0.135 268.2)
XYZxyz(7.9956, 6.3377, 27.5845)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4191 #917B2B
analogous
#2B7491 #2B4191 #482B91
triadic
#2B4191 #912B41 #41912B
tetradic
#2B4191 #912B74 #917B2B #2B9148
square
#2B4191 #912B74 #917B2B #2B9148
split-complementary
#2B4191 #91482B #74912B
monochromatic
#0F1733 #1D2C62 #2B4191 #3956C0 #657CD1

Accessibility & contrast

On white

9.26
#2B4191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B4191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4191
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4191#FFFFFF#000000##FFFFFF
##2B41911.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4191;
/* rgb */ color: rgb(43, 65, 145);
/* oklch */ color: oklch(40.6% 0.135 268.2);
Tailwind
colors: {
  custom: {
    50: '#7275b2',
    500: '#2b4191',
    950: '#000000',
  },
}
SCSS
$custom: #2b4191;
$custom-light: #7275b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4191",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 227.059,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.1347,
    "h": 268.2
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#2B4191
secondary
#B8A560
accent
#BE4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4191

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

Preview Lab → · Contrast checker → · Palette generator →

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