#2B538F#2B538F

#2B538F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.109 H 258.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2B538F
RGBrgb(43, 83, 143)
HSLhsl(216, 54%, 36%)
HSVhsv(216, 70%, 56%)
CMYKcmyk(69.9%, 42%, 0%, 43.9%)
CIE-LABlab(35.37, 6.88, -37.37)
CIE-LCHlch(35.37, 38.00, 280.43°)
OKLaboklab(44.48% -0.0219 -0.1066)
OKLCHoklch(44.48% 0.109 258.4)
XYZxyz(9.0457, 8.6824, 27.1804)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B538F #8F672B
analogous
#2B858F #2B538F #352B8F
triadic
#2B538F #8F2B53 #538F2B
tetradic
#2B538F #8F2B85 #8F672B #2B8F35
square
#2B538F #8F2B85 #8F672B #2B8F35
split-complementary
#2B538F #8F352B #858F2B
monochromatic
#0F1C31 #1D3860 #2B538F #396EBE #648FD0

Accessibility & contrast

On white

7.67
#2B538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B538F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B538F#FFFFFF#000000##FFFFFF
##2B538F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b538f;
/* rgb */ color: rgb(43, 83, 143);
/* oklch */ color: oklch(44.5% 0.109 258.4);
Tailwind
colors: {
  custom: {
    50: '#7082b0',
    500: '#2b538f',
    950: '#000000',
  },
}
SCSS
$custom: #2b538f;
$custom-light: #7082b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b538f",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 216,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.10881,
    "h": 258.4
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#2B538F
secondary
#B7945F
accent
#A34BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B538F

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

Preview Lab → · Contrast checker → · Palette generator →

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