#2B4894#2B4894

#2B4894 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.130 H 265.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2B4894
RGBrgb(43, 72, 148)
HSLhsl(223, 55%, 37%)
HSVhsv(223, 71%, 58%)
CMYKcmyk(70.9%, 51.4%, 0%, 42%)
CIE-LABlab(32.45, 16.14, -45.09)
CIE-LCHlch(32.45, 47.89, 289.69°)
OKLaboklab(42.34% -0.0103 -0.1295)
OKLCHoklch(42.34% 0.13 265.5)
XYZxyz(8.6571, 7.2856, 28.9613)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4894 #94772B
analogous
#2B7C94 #2B4894 #432B94
triadic
#2B4894 #942B48 #48942B
tetradic
#2B4894 #942B7C #94772B #2B9443
square
#2B4894 #942B7C #94772B #2B9443
split-complementary
#2B4894 #94432B #7C942B
monochromatic
#0F1A35 #1D3165 #2B4894 #395FC3 #6785D3

Accessibility & contrast

On white

8.55
#2B4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4894
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4894#FFFFFF#000000##FFFFFF
##2B48941.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4894;
/* rgb */ color: rgb(43, 72, 148);
/* oklch */ color: oklch(42.3% 0.130 265.5);
Tailwind
colors: {
  custom: {
    50: '#727ab4',
    500: '#2b4894',
    950: '#000000',
  },
}
SCSS
$custom: #2b4894;
$custom-light: #727ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4894",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 223.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.12987,
    "h": 265.5
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#2B4894
secondary
#B9A162
accent
#B549DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4894

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

Preview Lab → · Contrast checker → · Palette generator →

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