#2B3394#2B3394

#2B3394 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.157 H 272.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2B3394
RGBrgb(43, 51, 148)
HSLhsl(235, 55%, 37%)
HSVhsv(235, 71%, 58%)
CMYKcmyk(70.9%, 65.5%, 0%, 42%)
CIE-LABlab(26.79, 30.25, -54.29)
CIE-LCHlch(26.79, 62.15, 299.13°)
OKLaboklab(38.11% 0.0074 -0.1568)
OKLCHoklch(38.11% 0.157 272.7)
XYZxyz(7.5236, 5.0186, 28.5834)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3394 #948C2B
analogous
#2B6794 #2B3394 #582B94
triadic
#2B3394 #942B33 #33942B
tetradic
#2B3394 #942B67 #948C2B #2B9458
square
#2B3394 #942B67 #948C2B #2B9458
split-complementary
#2B3394 #94582B #67942B
monochromatic
#0F1235 #1D2365 #2B3394 #3943C3 #676FD3

Accessibility & contrast

On white

10.48
#2B3394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B3394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3394
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3394#FFFFFF#000000##FFFFFF
##2B33941.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3394;
/* rgb */ color: rgb(43, 51, 148);
/* oklch */ color: oklch(38.1% 0.157 272.7);
Tailwind
colors: {
  custom: {
    50: '#736bb4',
    500: '#2b3394',
    950: '#000000',
  },
}
SCSS
$custom: #2b3394;
$custom-light: #736bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3394",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 235.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38108,
    "c": 0.15694,
    "h": 272.7
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#2B3394
secondary
#B9B262
accent
#D349DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3394

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

Preview Lab → · Contrast checker → · Palette generator →

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