#2B3294#2B3294

#2B3294 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.158 H 273.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2B3294
RGBrgb(43, 50, 148)
HSLhsl(236, 55%, 37%)
HSVhsv(236, 71%, 58%)
CMYKcmyk(70.9%, 66.2%, 0%, 42%)
CIE-LABlab(26.54, 30.91, -54.69)
CIE-LCHlch(26.54, 62.82, 299.47°)
OKLaboklab(37.93% 0.0082 -0.1579)
OKLCHoklch(37.93% 0.158 273)
XYZxyz(7.4804, 4.9322, 28.5690)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3294 #948D2B
analogous
#2B6794 #2B3294 #592B94
triadic
#2B3294 #942B32 #32942B
tetradic
#2B3294 #942B67 #948D2B #2B9459
square
#2B3294 #942B67 #948D2B #2B9459
split-complementary
#2B3294 #94592B #67942B
monochromatic
#0F1235 #1D2265 #2B3294 #3942C3 #676ED3

Accessibility & contrast

On white

10.57
#2B3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3294
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3294#FFFFFF#000000##FFFFFF
##2B32941.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3294;
/* rgb */ color: rgb(43, 50, 148);
/* oklch */ color: oklch(37.9% 0.158 273.0);
Tailwind
colors: {
  custom: {
    50: '#736ab4',
    500: '#2b3294',
    950: '#000000',
  },
}
SCSS
$custom: #2b3294;
$custom-light: #736ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3294",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 236,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.15816,
    "h": 273
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#2B3294
secondary
#B9B362
accent
#D449DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3294

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

Preview Lab → · Contrast checker → · Palette generator →

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