#2B4975#2B4975

#2B4975 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.4% C 0.083 H 257.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2B4975
RGBrgb(43, 73, 117)
HSLhsl(216, 46%, 31%)
HSVhsv(216, 63%, 46%)
CMYKcmyk(63.2%, 37.6%, 0%, 54.1%)
CIE-LABlab(30.79, 3.72, -28.58)
CIE-LCHlch(30.79, 28.82, 277.41°)
OKLaboklab(40.43% -0.0174 -0.081)
OKLCHoklch(40.43% 0.083 257.9)
XYZxyz(6.5886, 6.5624, 17.7456)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4975 #75572B
analogous
#2B6E75 #2B4975 #322B75
triadic
#2B4975 #752B49 #49752B
tetradic
#2B4975 #752B6E #75572B #2B7532
square
#2B4975 #752B6E #75572B #2B7532
split-complementary
#2B4975 #75322B #6E752B
monochromatic
#0A111B #1B2D48 #2B4975 #3B65A2 #5983C2

Accessibility & contrast

On white

9.08
#2B4975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B4975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4975
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4975#FFFFFF#000000##FFFFFF
##2B49751.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C77
Deuteranopia (green-blind)
#2C4574
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4975;
/* rgb */ color: rgb(43, 73, 117);
/* oklch */ color: oklch(40.4% 0.083 257.9);
Tailwind
colors: {
  custom: {
    50: '#6c7b9d',
    500: '#2b4975',
    950: '#000000',
  },
}
SCSS
$custom: #2b4975;
$custom-light: #6c7b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4975",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 117
  },
  "hsl": {
    "h": 215.676,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.0828,
    "h": 257.9
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#2B4975
secondary
#A78655
accent
#A052D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4975

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

Preview Lab → · Contrast checker → · Palette generator →

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