#2B3D85#2B3D85

#2B3D85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.122 H 269.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2B3D85
RGBrgb(43, 61, 133)
HSLhsl(228, 51%, 35%)
HSVhsv(228, 68%, 52%)
CMYKcmyk(67.7%, 54.1%, 0%, 47.8%)
CIE-LABlab(28.23, 17.90, -42.66)
CIE-LCHlch(28.23, 46.27, 292.76°)
OKLaboklab(38.8% -0.0013 -0.1225)
OKLCHoklch(38.8% 0.123 269.4)
XYZxyz(6.8972, 5.5439, 22.8924)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D85 #85732B
analogous
#2B6A85 #2B3D85 #462B85
triadic
#2B3D85 #852B3D #3D852B
tetradic
#2B3D85 #852B6A #85732B #2B8546
square
#2B3D85 #852B6A #85732B #2B8546
split-complementary
#2B3D85 #85462B #6A852B
monochromatic
#0D1329 #1C2857 #2B3D85 #3A52B3 #5F75CB

Accessibility & contrast

On white

9.96
#2B3D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B3D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D85
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D85#FFFFFF#000000##FFFFFF
##2B3D851.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3d85;
/* rgb */ color: rgb(43, 61, 133);
/* oklch */ color: oklch(38.8% 0.122 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f72a9',
    500: '#2b3d85',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d85;
$custom-light: #6f72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d85",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 228,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38798,
    "c": 0.1225,
    "h": 269.4
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#2B3D85
secondary
#B1A05B
accent
#BE4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3D85

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

Preview Lab → · Contrast checker → · Palette generator →

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