#2B4294#2B4294

#2B4294 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.138 H 268.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2B4294
RGBrgb(43, 66, 148)
HSLhsl(227, 55%, 37%)
HSVhsv(227, 71%, 58%)
CMYKcmyk(70.9%, 55.4%, 0%, 42%)
CIE-LABlab(30.75, 20.20, -47.83)
CIE-LCHlch(30.75, 51.92, 292.89°)
OKLaboklab(41.06% -0.0048 -0.1376)
OKLCHoklch(41.06% 0.138 268)
XYZxyz(8.2879, 6.5473, 28.8382)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4294 #947D2B
analogous
#2B7794 #2B4294 #482B94
triadic
#2B4294 #942B42 #42942B
tetradic
#2B4294 #942B77 #947D2B #2B9448
square
#2B4294 #942B77 #947D2B #2B9448
split-complementary
#2B4294 #94482B #77942B
monochromatic
#0F1835 #1D2D65 #2B4294 #3957C3 #677ED3

Accessibility & contrast

On white

9.09
#2B4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4294
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4294#FFFFFF#000000##FFFFFF
##2B42941.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014D97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4294;
/* rgb */ color: rgb(43, 66, 148);
/* oklch */ color: oklch(41.1% 0.138 268.0);
Tailwind
colors: {
  custom: {
    50: '#7276b4',
    500: '#2b4294',
    950: '#000000',
  },
}
SCSS
$custom: #2b4294;
$custom-light: #7276b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4294",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 226.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.1377,
    "h": 268
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#2B4294
secondary
#B9A662
accent
#BE49DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4294

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

Preview Lab → · Contrast checker → · Palette generator →

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