#2B4E85#2B4E85

#2B4E85 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.6% C 0.100 H 259.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2B4E85
RGBrgb(43, 78, 133)
HSLhsl(217, 51%, 35%)
HSVhsv(217, 68%, 52%)
CMYKcmyk(67.7%, 41.4%, 0%, 47.8%)
CIE-LABlab(33.25, 6.39, -34.61)
CIE-LCHlch(33.25, 35.20, 280.46°)
OKLaboklab(42.65% -0.019 -0.0986)
OKLCHoklch(42.65% 0.1 259.1)
XYZxyz(7.9528, 7.6551, 23.2442)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E85 #85622B
analogous
#2B7B85 #2B4E85 #352B85
triadic
#2B4E85 #852B4E #4E852B
tetradic
#2B4E85 #852B7B #85622B #2B8535
square
#2B4E85 #852B7B #85622B #2B8535
split-complementary
#2B4E85 #85352B #7B852B
monochromatic
#0D1829 #1C3357 #2B4E85 #3A69B3 #5F89CB

Accessibility & contrast

On white

8.30
#2B4E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B4E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E85
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E85#FFFFFF#000000##FFFFFF
##2B4E851.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355387
Deuteranopia (green-blind)
#284A84
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4e85;
/* rgb */ color: rgb(43, 78, 133);
/* oklch */ color: oklch(42.6% 0.100 259.1);
Tailwind
colors: {
  custom: {
    50: '#6e7fa9',
    500: '#2b4e85',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e85;
$custom-light: #6e7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e85",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 216.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42645,
    "c": 0.10037,
    "h": 259.1
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#2B4E85
secondary
#B1905B
accent
#A44DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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