#2B538D#2B538D

#2B538D is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.106 H 257.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2B538D
RGBrgb(43, 83, 141)
HSLhsl(216, 53%, 36%)
HSVhsv(216, 70%, 55%)
CMYKcmyk(69.5%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.25, 6.12, -36.34)
CIE-LCHlch(35.25, 36.85, 279.56°)
OKLaboklab(44.35% -0.0224 -0.1036)
OKLCHoklch(44.35% 0.106 257.8)
XYZxyz(8.8955, 8.6223, 26.3896)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B538D #8D652B
analogous
#2B848D #2B538D #342B8D
triadic
#2B538D #8D2B53 #538D2B
tetradic
#2B538D #8D2B84 #8D652B #2B8D34
square
#2B538D #8D2B84 #8D652B #2B8D34
split-complementary
#2B538D #8D342B #848D2B
monochromatic
#0E1C2F #1D375E #2B538D #396FBC #638FCF

Accessibility & contrast

On white

7.71
#2B538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B538D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B538D#FFFFFF#000000##FFFFFF
##2B538D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b538d;
/* rgb */ color: rgb(43, 83, 141);
/* oklch */ color: oklch(44.3% 0.106 257.8);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2b538d',
    950: '#000000',
  },
}
SCSS
$custom: #2b538d;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b538d",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 215.51,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.10595,
    "h": 257.8
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#2B538D
secondary
#B6925E
accent
#A14BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B538D

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

Preview Lab → · Contrast checker → · Palette generator →

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