#2B3291#2B3291

#2B3291 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.154 H 273.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2B3291
RGBrgb(43, 50, 145)
HSLhsl(236, 54%, 37%)
HSVhsv(236, 70%, 57%)
CMYKcmyk(70.3%, 65.5%, 0%, 43.1%)
CIE-LABlab(26.27, 29.81, -53.29)
CIE-LCHlch(26.27, 61.06, 299.23°)
OKLaboklab(37.65% 0.0084 -0.1538)
OKLCHoklch(37.65% 0.154 273.1)
XYZxyz(7.2460, 4.8384, 27.3346)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3291 #918A2B
analogous
#2B6591 #2B3291 #572B91
triadic
#2B3291 #912B32 #32912B
tetradic
#2B3291 #912B65 #918A2B #2B9157
square
#2B3291 #912B65 #918A2B #2B9157
split-complementary
#2B3291 #91572B #65912B
monochromatic
#0F1133 #1D2262 #2B3291 #3942C0 #656CD1

Accessibility & contrast

On white

10.67
#2B3291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B3291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3291
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3291#FFFFFF#000000##FFFFFF
##2B32911.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3291;
/* rgb */ color: rgb(43, 50, 145);
/* oklch */ color: oklch(37.6% 0.154 273.1);
Tailwind
colors: {
  custom: {
    50: '#736ab2',
    500: '#2b3291',
    950: '#000000',
  },
}
SCSS
$custom: #2b3291;
$custom-light: #736ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3291",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 235.882,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.15407,
    "h": 273.1
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3291

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

Preview Lab → · Contrast checker → · Palette generator →

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