#2B3E83#2B3E83

#2B3E83 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.118 H 268.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2B3E83
RGBrgb(43, 62, 131)
HSLhsl(227, 51%, 34%)
HSVhsv(227, 67%, 51%)
CMYKcmyk(67.2%, 52.7%, 0%, 48.6%)
CIE-LABlab(28.37, 16.45, -41.19)
CIE-LCHlch(28.37, 44.36, 291.77°)
OKLaboklab(38.86% -0.0025 -0.1181)
OKLCHoklch(38.86% 0.118 268.8)
XYZxyz(6.8142, 5.5969, 22.1895)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E83 #83702B
analogous
#2B6A83 #2B3E83 #442B83
triadic
#2B3E83 #832B3E #3E832B
tetradic
#2B3E83 #832B6A #83702B #2B8344
square
#2B3E83 #832B6A #83702B #2B8344
split-complementary
#2B3E83 #83442B #6A832B
monochromatic
#0D1227 #1C2855 #2B3E83 #3A54B1 #5E76CA

Accessibility & contrast

On white

9.91
#2B3E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B3E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E83
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E83#FFFFFF#000000##FFFFFF
##2B3E831.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3e83;
/* rgb */ color: rgb(43, 62, 131);
/* oklch */ color: oklch(38.9% 0.118 268.8);
Tailwind
colors: {
  custom: {
    50: '#6f72a7',
    500: '#2b3e83',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e83;
$custom-light: #6f72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e83",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 227.045,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.11818,
    "h": 268.8
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#2B3E83
secondary
#B09D5A
accent
#BC4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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