#2B3B93#2B3B93

#2B3B93 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.145 H 270.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2B3B93
RGBrgb(43, 59, 147)
HSLhsl(231, 55%, 37%)
HSVhsv(231, 71%, 58%)
CMYKcmyk(70.7%, 59.9%, 0%, 42.4%)
CIE-LABlab(28.77, 24.56, -50.45)
CIE-LCHlch(28.77, 56.11, 295.96°)
OKLaboklab(39.54% 0.0012 -0.1454)
OKLCHoklch(39.54% 0.145 270.5)
XYZxyz(7.8249, 5.7473, 28.2951)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B93 #93832B
analogous
#2B6F93 #2B3B93 #4F2B93
triadic
#2B3B93 #932B3B #3B932B
tetradic
#2B3B93 #932B6F #93832B #2B934F
square
#2B3B93 #932B6F #93832B #2B934F
split-complementary
#2B3B93 #934F2B #6F932B
monochromatic
#0F1534 #1D2864 #2B3B93 #394EC2 #6677D2

Accessibility & contrast

On white

9.77
#2B3B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B3B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B93
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B93#FFFFFF#000000##FFFFFF
##2B3B931.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3b93;
/* rgb */ color: rgb(43, 59, 147);
/* oklch */ color: oklch(39.5% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#7270b3',
    500: '#2b3b93',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b93;
$custom-light: #7270b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b93",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 147
  },
  "hsl": {
    "h": 230.769,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39542,
    "c": 0.14541,
    "h": 270.5
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#2B3B93
secondary
#B9AB61
accent
#C74ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3B93

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

Preview Lab → · Contrast checker → · Palette generator →

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