#2B548E#2B548E

#2B548E is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.106 H 257.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2B548E
RGBrgb(43, 84, 142)
HSLhsl(215, 54%, 36%)
HSVhsv(215, 70%, 56%)
CMYKcmyk(69.7%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.61, 5.84, -36.37)
CIE-LCHlch(35.61, 36.84, 279.13°)
OKLaboklab(44.65% -0.0232 -0.1036)
OKLCHoklch(44.65% 0.106 257.4)
XYZxyz(9.0473, 8.8063, 26.8089)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B548E #8E652B
analogous
#2B868E #2B548E #342B8E
triadic
#2B548E #8E2B54 #548E2B
tetradic
#2B548E #8E2B86 #8E652B #2B8E34
square
#2B548E #8E2B86 #8E652B #2B8E34
split-complementary
#2B548E #8E342B #868E2B
monochromatic
#0F1C30 #1D385F #2B548E #3970BD #6390D0

Accessibility & contrast

On white

7.60
#2B548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B548E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B548E#FFFFFF#000000##FFFFFF
##2B548E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395990
Deuteranopia (green-blind)
#2A508D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b548e;
/* rgb */ color: rgb(43, 84, 142);
/* oklch */ color: oklch(44.6% 0.106 257.4);
Tailwind
colors: {
  custom: {
    50: '#7083af',
    500: '#2b548e',
    950: '#000000',
  },
}
SCSS
$custom: #2b548e;
$custom-light: #7083af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b548e",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 215.152,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.1062,
    "h": 257.4
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#2B548E
secondary
#B6925F
accent
#A04BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B548E

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

Preview Lab → · Contrast checker → · Palette generator →

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