#2B508F#2B508F

#2B508F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.112 H 260.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2B508F
RGBrgb(43, 80, 143)
HSLhsl(218, 54%, 36%)
HSVhsv(218, 70%, 56%)
CMYKcmyk(69.9%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.46, 8.86, -38.81)
CIE-LCHlch(34.46, 39.81, 282.86°)
OKLaboklab(43.78% -0.0189 -0.1108)
OKLCHoklch(43.78% 0.112 260.3)
XYZxyz(8.8211, 8.2332, 27.1056)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B508F #8F6A2B
analogous
#2B828F #2B508F #382B8F
triadic
#2B508F #8F2B50 #508F2B
tetradic
#2B508F #8F2B82 #8F6A2B #2B8F38
square
#2B508F #8F2B82 #8F6A2B #2B8F38
split-complementary
#2B508F #8F382B #828F2B
monochromatic
#0F1B31 #1D3660 #2B508F #396ABE #648CD0

Accessibility & contrast

On white

7.93
#2B508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B508F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B508F#FFFFFF#000000##FFFFFF
##2B508F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b508f;
/* rgb */ color: rgb(43, 80, 143);
/* oklch */ color: oklch(43.8% 0.112 260.3);
Tailwind
colors: {
  custom: {
    50: '#7080b0',
    500: '#2b508f',
    950: '#000000',
  },
}
SCSS
$custom: #2b508f;
$custom-light: #7080b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b508f",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 217.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.11244,
    "h": 260.3
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#2B508F
secondary
#B7965F
accent
#A74BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B508F

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

Preview Lab → · Contrast checker → · Palette generator →

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