#2B3885#2B3885

#2B3885 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.129 H 271.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2B3885
RGBrgb(43, 56, 133)
HSLhsl(231, 51%, 35%)
HSVhsv(231, 68%, 52%)
CMYKcmyk(67.7%, 57.9%, 0%, 47.8%)
CIE-LABlab(26.83, 21.33, -44.93)
CIE-LCHlch(26.83, 49.73, 295.39°)
OKLaboklab(37.75% 0.0035 -0.1292)
OKLCHoklch(37.75% 0.129 271.5)
XYZxyz(6.6426, 5.0348, 22.8075)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3885 #85782B
analogous
#2B6585 #2B3885 #4B2B85
triadic
#2B3885 #852B38 #38852B
tetradic
#2B3885 #852B65 #85782B #2B854B
square
#2B3885 #852B65 #85782B #2B854B
split-complementary
#2B3885 #854B2B #65852B
monochromatic
#0D1129 #1C2557 #2B3885 #3A4BB3 #5F6FCB

Accessibility & contrast

On white

10.46
#2B3885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B3885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3885
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3885#FFFFFF#000000##FFFFFF
##2B38851.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3885;
/* rgb */ color: rgb(43, 56, 133);
/* oklch */ color: oklch(37.7% 0.129 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ea9',
    500: '#2b3885',
    950: '#000000',
  },
}
SCSS
$custom: #2b3885;
$custom-light: #6f6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3885",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 133
  },
  "hsl": {
    "h": 231.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.12927,
    "h": 271.5
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#2B3885
secondary
#B1A55B
accent
#C64DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3885

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

Preview Lab → · Contrast checker → · Palette generator →

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