#2B3895#2B3895

#2B3895 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.152 H 271.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2B3895
RGBrgb(43, 56, 149)
HSLhsl(233, 55%, 38%)
HSVhsv(233, 71%, 58%)
CMYKcmyk(71.1%, 62.4%, 0%, 41.6%)
CIE-LABlab(28.14, 27.32, -52.69)
CIE-LCHlch(28.14, 59.35, 297.40°)
OKLaboklab(39.13% 0.0036 -0.152)
OKLCHoklch(39.13% 0.152 271.3)
XYZxyz(7.8334, 5.5111, 29.0789)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3895 #95882B
analogous
#2B6D95 #2B3895 #532B95
triadic
#2B3895 #952B38 #38952B
tetradic
#2B3895 #952B6D #95882B #2B9553
square
#2B3895 #952B6D #95882B #2B9553
split-complementary
#2B3895 #95532B #6D952B
monochromatic
#101436 #1D2666 #2B3895 #394AC4 #6774D3

Accessibility & contrast

On white

9.99
#2B3895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B3895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3895
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3895#FFFFFF#000000##FFFFFF
##2B38951.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3895;
/* rgb */ color: rgb(43, 56, 149);
/* oklch */ color: oklch(39.1% 0.152 271.3);
Tailwind
colors: {
  custom: {
    50: '#736eb5',
    500: '#2b3895',
    950: '#000000',
  },
}
SCSS
$custom: #2b3895;
$custom-light: #736eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3895",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 149
  },
  "hsl": {
    "h": 232.642,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.15206,
    "h": 271.3
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#2B3895
secondary
#BAAF62
accent
#CC49DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3895

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

Preview Lab → · Contrast checker → · Palette generator →

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