#2B538E#2B538E

#2B538E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.4% C 0.107 H 258.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2B538E
RGBrgb(43, 83, 142)
HSLhsl(216, 54%, 36%)
HSVhsv(216, 70%, 56%)
CMYKcmyk(69.7%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.31, 6.50, -36.85)
CIE-LCHlch(35.31, 37.42, 280.00°)
OKLaboklab(44.41% -0.0221 -0.1051)
OKLCHoklch(44.41% 0.107 258.1)
XYZxyz(8.9702, 8.6522, 26.7832)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B538E #8E662B
analogous
#2B858E #2B538E #352B8E
triadic
#2B538E #8E2B53 #538E2B
tetradic
#2B538E #8E2B85 #8E662B #2B8E35
square
#2B538E #8E2B85 #8E662B #2B8E35
split-complementary
#2B538E #8E352B #858E2B
monochromatic
#0F1C30 #1D385F #2B538E #396EBD #638FD0

Accessibility & contrast

On white

7.69
#2B538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B538E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B538E#FFFFFF#000000##FFFFFF
##2B538E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b538e;
/* rgb */ color: rgb(43, 83, 142);
/* oklch */ color: oklch(44.4% 0.107 258.1);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2b538e',
    950: '#000000',
  },
}
SCSS
$custom: #2b538e;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b538e",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 215.758,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.10738,
    "h": 258.1
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#2B538E
secondary
#B6935F
accent
#A24BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B538E

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

Preview Lab → · Contrast checker → · Palette generator →

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