#2B3191#2B3191

#2B3191 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.155 H 273.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2B3191
RGBrgb(43, 49, 145)
HSLhsl(236, 54%, 37%)
HSVhsv(236, 70%, 57%)
CMYKcmyk(70.3%, 66.2%, 0%, 43.1%)
CIE-LABlab(26.02, 30.47, -53.69)
CIE-LCHlch(26.02, 61.74, 299.57°)
OKLaboklab(37.46% 0.0092 -0.155)
OKLCHoklch(37.46% 0.155 273.4)
XYZxyz(7.2037, 4.7539, 27.3205)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3191 #918B2B
analogous
#2B6491 #2B3191 #582B91
triadic
#2B3191 #912B31 #31912B
tetradic
#2B3191 #912B64 #918B2B #2B9158
square
#2B3191 #912B64 #918B2B #2B9158
split-complementary
#2B3191 #91582B #64912B
monochromatic
#0F1133 #1D2162 #2B3191 #3941C0 #656BD1

Accessibility & contrast

On white

10.76
#2B3191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B3191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3191
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3191#FFFFFF#000000##FFFFFF
##2B31911.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3191;
/* rgb */ color: rgb(43, 49, 145);
/* oklch */ color: oklch(37.5% 0.155 273.4);
Tailwind
colors: {
  custom: {
    50: '#7369b2',
    500: '#2b3191',
    950: '#000000',
  },
}
SCSS
$custom: #2b3191;
$custom-light: #7369b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3191",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 236.471,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.1553,
    "h": 273.4
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#2B3191
secondary
#B8B260
accent
#D54ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3191

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

Preview Lab → · Contrast checker → · Palette generator →

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