#2B3C91#2B3C91

#2B3C91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.141 H 270.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2B3C91
RGBrgb(43, 60, 145)
HSLhsl(230, 54%, 37%)
HSVhsv(230, 70%, 57%)
CMYKcmyk(70.3%, 58.6%, 0%, 43.1%)
CIE-LABlab(28.87, 23.13, -49.04)
CIE-LCHlch(28.87, 54.22, 295.25°)
OKLaboklab(39.57% 0.0003 -0.1413)
OKLCHoklch(39.57% 0.141 270.1)
XYZxyz(7.7212, 5.7889, 27.4930)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C91 #91802B
analogous
#2B6F91 #2B3C91 #4D2B91
triadic
#2B3C91 #912B3C #3C912B
tetradic
#2B3C91 #912B6F #91802B #2B914D
square
#2B3C91 #912B6F #91802B #2B914D
split-complementary
#2B3C91 #914D2B #6F912B
monochromatic
#0F1533 #1D2862 #2B3C91 #3950C0 #6577D1

Accessibility & contrast

On white

9.73
#2B3C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B3C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C91
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C91#FFFFFF#000000##FFFFFF
##2B3C911.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3c91;
/* rgb */ color: rgb(43, 60, 145);
/* oklch */ color: oklch(39.6% 0.141 270.1);
Tailwind
colors: {
  custom: {
    50: '#7271b2',
    500: '#2b3c91',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c91;
$custom-light: #7271b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c91",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 230,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39572,
    "c": 0.14127,
    "h": 270.1
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#2B3C91
secondary
#B8A960
accent
#C54ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3C91

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

Preview Lab → · Contrast checker → · Palette generator →

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