#2B3185#2B3185

#2B3185 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.139 H 274.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2B3185
RGBrgb(43, 49, 133)
HSLhsl(236, 51%, 35%)
HSVhsv(236, 68%, 52%)
CMYKcmyk(67.7%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.96, 26.08, -47.97)
CIE-LCHlch(24.96, 54.60, 298.53°)
OKLaboklab(36.36% 0.0099 -0.1382)
OKLCHoklch(36.36% 0.139 274.1)
XYZxyz(6.3268, 4.4031, 22.7022)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3185 #857F2B
analogous
#2B5E85 #2B3185 #522B85
triadic
#2B3185 #852B31 #31852B
tetradic
#2B3185 #852B5E #857F2B #2B8552
square
#2B3185 #852B5E #857F2B #2B8552
split-complementary
#2B3185 #85522B #5E852B
monochromatic
#0D0F29 #1C2057 #2B3185 #3A42B3 #5F66CB

Accessibility & contrast

On white

11.17
#2B3185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B3185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3185
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3185#FFFFFF#000000##FFFFFF
##2B31851.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3185;
/* rgb */ color: rgb(43, 49, 133);
/* oklch */ color: oklch(36.4% 0.139 274.1);
Tailwind
colors: {
  custom: {
    50: '#7069a9',
    500: '#2b3185',
    950: '#000000',
  },
}
SCSS
$custom: #2b3185;
$custom-light: #7069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3185",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 236,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.13859,
    "h": 274.1
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#2B3185
secondary
#B1AB5B
accent
#D14DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3185

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

Preview Lab → · Contrast checker → · Palette generator →

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