#2B4194#2B4194

#2B4194 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.139 H 268.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2B4194
RGBrgb(43, 65, 148)
HSLhsl(227, 55%, 37%)
HSVhsv(227, 71%, 58%)
CMYKcmyk(70.9%, 56.1%, 0%, 42%)
CIE-LABlab(30.48, 20.88, -48.28)
CIE-LCHlch(30.48, 52.60, 293.38°)
OKLaboklab(40.85% -0.004 -0.139)
OKLCHoklch(40.85% 0.139 268.4)
XYZxyz(8.2300, 6.4315, 28.8189)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4194 #947E2B
analogous
#2B7594 #2B4194 #4A2B94
triadic
#2B4194 #942B41 #41942B
tetradic
#2B4194 #942B75 #947E2B #2B944A
square
#2B4194 #942B75 #947E2B #2B944A
split-complementary
#2B4194 #944A2B #75942B
monochromatic
#0F1735 #1D2C65 #2B4194 #3956C3 #677DD3

Accessibility & contrast

On white

9.18
#2B4194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B4194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4194
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4194#FFFFFF#000000##FFFFFF
##2B41941.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4194;
/* rgb */ color: rgb(43, 65, 148);
/* oklch */ color: oklch(40.8% 0.139 268.4);
Tailwind
colors: {
  custom: {
    50: '#7275b4',
    500: '#2b4194',
    950: '#000000',
  },
}
SCSS
$custom: #2b4194;
$custom-light: #7275b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4194",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 227.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.13902,
    "h": 268.4
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#2B4194
secondary
#B9A762
accent
#BF49DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4194

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

Preview Lab → · Contrast checker → · Palette generator →

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