#2B3785#2B3785

#2B3785 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.131 H 271.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2B3785
RGBrgb(43, 55, 133)
HSLhsl(232, 51%, 35%)
HSVhsv(232, 68%, 52%)
CMYKcmyk(67.7%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.56, 22.01, -45.37)
CIE-LCHlch(26.56, 50.43, 295.88°)
OKLaboklab(37.54% 0.0044 -0.1305)
OKLCHoklch(37.54% 0.131 271.9)
XYZxyz(6.5947, 4.9388, 22.7915)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3785 #85792B
analogous
#2B6485 #2B3785 #4C2B85
triadic
#2B3785 #852B37 #37852B
tetradic
#2B3785 #852B64 #85792B #2B854C
square
#2B3785 #852B64 #85792B #2B854C
split-complementary
#2B3785 #854C2B #64852B
monochromatic
#0D1129 #1C2457 #2B3785 #3A4AB3 #5F6ECB

Accessibility & contrast

On white

10.56
#2B3785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3785
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3785#FFFFFF#000000##FFFFFF
##2B37851.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3785;
/* rgb */ color: rgb(43, 55, 133);
/* oklch */ color: oklch(37.5% 0.131 271.9);
Tailwind
colors: {
  custom: {
    50: '#706da9',
    500: '#2b3785',
    950: '#000000',
  },
}
SCSS
$custom: #2b3785;
$custom-light: #706da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3785",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 232,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37543,
    "c": 0.13062,
    "h": 271.9
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#2B3785
secondary
#B1A65B
accent
#C84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3785

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

Preview Lab → · Contrast checker → · Palette generator →

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