#2B3985#2B3985

#2B3985 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.128 H 271.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2B3985
RGBrgb(43, 57, 133)
HSLhsl(231, 51%, 35%)
HSVhsv(231, 68%, 52%)
CMYKcmyk(67.7%, 57.1%, 0%, 47.8%)
CIE-LABlab(27.11, 20.64, -44.48)
CIE-LCHlch(27.11, 49.04, 294.90°)
OKLaboklab(37.96% 0.0025 -0.1279)
OKLCHoklch(37.96% 0.128 271.1)
XYZxyz(6.6916, 5.1327, 22.8238)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3985 #85772B
analogous
#2B6685 #2B3985 #4A2B85
triadic
#2B3985 #852B39 #39852B
tetradic
#2B3985 #852B66 #85772B #2B854A
square
#2B3985 #852B66 #85772B #2B854A
split-complementary
#2B3985 #854A2B #66852B
monochromatic
#0D1129 #1C2557 #2B3985 #3A4DB3 #5F70CB

Accessibility & contrast

On white

10.36
#2B3985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B3985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3985
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3985#FFFFFF#000000##FFFFFF
##2B39851.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3985;
/* rgb */ color: rgb(43, 57, 133);
/* oklch */ color: oklch(38.0% 0.128 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f6fa9',
    500: '#2b3985',
    950: '#000000',
  },
}
SCSS
$custom: #2b3985;
$custom-light: #6f6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3985",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 230.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37955,
    "c": 0.12792,
    "h": 271.1
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#2B3985
secondary
#B1A45B
accent
#C54DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3985

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

Preview Lab → · Contrast checker → · Palette generator →

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