#2B3F84#2B3F84

#2B3F84 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.2% C 0.118 H 268.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2B3F84
RGBrgb(43, 63, 132)
HSLhsl(227, 51%, 34%)
HSVhsv(227, 67%, 52%)
CMYKcmyk(67.4%, 52.3%, 0%, 48.2%)
CIE-LABlab(28.73, 16.15, -41.24)
CIE-LCHlch(28.73, 44.29, 291.39°)
OKLaboklab(39.15% -0.0034 -0.1183)
OKLCHoklch(39.15% 0.118 268.3)
XYZxyz(6.9372, 5.7339, 22.5665)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F84 #84702B
analogous
#2B6C84 #2B3F84 #442B84
triadic
#2B3F84 #842B3F #3F842B
tetradic
#2B3F84 #842B6C #84702B #2B8444
square
#2B3F84 #842B6C #84702B #2B8444
split-complementary
#2B3F84 #84442B #6C842B
monochromatic
#0D1328 #1C2956 #2B3F84 #3A55B2 #5F77CB

Accessibility & contrast

On white

9.78
#2B3F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B3F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F84
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F84#FFFFFF#000000##FFFFFF
##2B3F841.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174886
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3f84;
/* rgb */ color: rgb(43, 63, 132);
/* oklch */ color: oklch(39.2% 0.118 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f73a8',
    500: '#2b3f84',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f84;
$custom-light: #6f73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f84",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 226.517,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39153,
    "c": 0.11831,
    "h": 268.3
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#2B3F84
secondary
#B19D5A
accent
#BB4DDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3F84

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

Preview Lab → · Contrast checker → · Palette generator →

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