#2B538C#2B538C

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

Color values

HEX#2B538C
RGBrgb(43, 83, 140)
HSLhsl(215, 53%, 36%)
HSVhsv(215, 69%, 55%)
CMYKcmyk(69.3%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.19, 5.74, -35.82)
CIE-LCHlch(35.19, 36.28, 279.11°)
OKLaboklab(44.28% -0.0226 -0.102)
OKLCHoklch(44.28% 0.105 257.5)
XYZxyz(8.8214, 8.5927, 25.9995)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B538C #8C642B
analogous
#2B838C #2B538C #342B8C
triadic
#2B538C #8C2B53 #538C2B
tetradic
#2B538C #8C2B83 #8C642B #2B8C34
square
#2B538C #8C2B83 #8C642B #2B8C34
split-complementary
#2B538C #8C342B #838C2B
monochromatic
#0E1B2E #1D375D #2B538C #396FBB #628FCF

Accessibility & contrast

On white

7.72
#2B538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B538C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B538C#FFFFFF#000000##FFFFFF
##2B538C1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588E
Deuteranopia (green-blind)
#2A4F8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b538c;
/* rgb */ color: rgb(43, 83, 140);
/* oklch */ color: oklch(44.3% 0.105 257.5);
Tailwind
colors: {
  custom: {
    50: '#7083ae',
    500: '#2b538c',
    950: '#000000',
  },
}
SCSS
$custom: #2b538c;
$custom-light: #7083ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b538c",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 215.258,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.10451,
    "h": 257.5
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#2B538C
secondary
#B5915E
accent
#A14BDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B538C

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

Preview Lab → · Contrast checker → · Palette generator →

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