#2B3D83#2B3D83

#2B3D83 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.120 H 269.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2B3D83
RGBrgb(43, 61, 131)
HSLhsl(228, 51%, 34%)
HSVhsv(228, 67%, 51%)
CMYKcmyk(67.2%, 53.4%, 0%, 48.6%)
CIE-LABlab(28.09, 17.14, -41.65)
CIE-LCHlch(28.09, 45.04, 292.37°)
OKLaboklab(38.64% -0.0015 -0.1195)
OKLCHoklch(38.64% 0.12 269.3)
XYZxyz(6.7603, 5.4892, 22.1716)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D83 #83712B
analogous
#2B6983 #2B3D83 #452B83
triadic
#2B3D83 #832B3D #3D832B
tetradic
#2B3D83 #832B69 #83712B #2B8345
square
#2B3D83 #832B69 #83712B #2B8345
split-complementary
#2B3D83 #83452B #69832B
monochromatic
#0D1227 #1C2855 #2B3D83 #3A52B1 #5E74CA

Accessibility & contrast

On white

10.01
#2B3D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B3D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D83
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D83#FFFFFF#000000##FFFFFF
##2B3D831.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3d83;
/* rgb */ color: rgb(43, 61, 131);
/* oklch */ color: oklch(38.6% 0.120 269.3);
Tailwind
colors: {
  custom: {
    50: '#6f72a8',
    500: '#2b3d83',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d83;
$custom-light: #6f72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d83",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 227.727,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.11953,
    "h": 269.3
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#2B3D83
secondary
#B09E5A
accent
#BD4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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