#2B548F#2B548F

#2B548F is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.108 H 257.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B548F
RGBrgb(43, 84, 143)
HSLhsl(215, 54%, 36%)
HSVhsv(215, 70%, 56%)
CMYKcmyk(69.9%, 41.3%, 0%, 43.9%)
CIE-LABlab(35.67, 6.22, -36.89)
CIE-LCHlch(35.67, 37.41, 279.58°)
OKLaboklab(44.71% -0.0229 -0.1051)
OKLCHoklch(44.71% 0.108 257.7)
XYZxyz(9.1227, 8.8365, 27.2061)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B548F #8F662B
analogous
#2B868F #2B548F #342B8F
triadic
#2B548F #8F2B54 #548F2B
tetradic
#2B548F #8F2B86 #8F662B #2B8F34
square
#2B548F #8F2B86 #8F662B #2B8F34
split-complementary
#2B548F #8F342B #868F2B
monochromatic
#0F1D31 #1D3860 #2B548F #3970BE #6490D0

Accessibility & contrast

On white

7.59
#2B548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B548F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B548F#FFFFFF#000000##FFFFFF
##2B548F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#29508E
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b548f;
/* rgb */ color: rgb(43, 84, 143);
/* oklch */ color: oklch(44.7% 0.108 257.7);
Tailwind
colors: {
  custom: {
    50: '#7083b0',
    500: '#2b548f',
    950: '#000000',
  },
}
SCSS
$custom: #2b548f;
$custom-light: #7083b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b548f",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 215.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.10762,
    "h": 257.7
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#2B548F
secondary
#B7935F
accent
#A14BDD
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B548F

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

Preview Lab → · Contrast checker → · Palette generator →

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