#2B4875#2B4875

#2B4875 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.084 H 258.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2B4875
RGBrgb(43, 72, 117)
HSLhsl(216, 46%, 31%)
HSVhsv(216, 63%, 46%)
CMYKcmyk(63.2%, 38.5%, 0%, 54.1%)
CIE-LABlab(30.48, 4.38, -29.07)
CIE-LCHlch(30.48, 29.40, 278.57°)
OKLaboklab(40.19% -0.0162 -0.0824)
OKLCHoklch(40.19% 0.084 258.9)
XYZxyz(6.5234, 6.4321, 17.7239)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4875 #75582B
analogous
#2B6D75 #2B4875 #332B75
triadic
#2B4875 #752B48 #48752B
tetradic
#2B4875 #752B6D #75582B #2B7533
square
#2B4875 #752B6D #75582B #2B7533
split-complementary
#2B4875 #75332B #6D752B
monochromatic
#0A111B #1B2C48 #2B4875 #3B64A2 #5982C2

Accessibility & contrast

On white

9.18
#2B4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B4875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4875
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4875#FFFFFF#000000##FFFFFF
##2B48751.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C77
Deuteranopia (green-blind)
#2B4574
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4875;
/* rgb */ color: rgb(43, 72, 117);
/* oklch */ color: oklch(40.2% 0.084 258.9);
Tailwind
colors: {
  custom: {
    50: '#6c7a9d',
    500: '#2b4875',
    950: '#000000',
  },
}
SCSS
$custom: #2b4875;
$custom-light: #6c7a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4875",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 216.486,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.08399,
    "h": 258.9
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#2B4875
secondary
#A78755
accent
#A252D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4875

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

Preview Lab → · Contrast checker → · Palette generator →

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