#2B4974#2B4974

#2B4974 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.081 H 257.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2B4974
RGBrgb(43, 73, 116)
HSLhsl(215, 46%, 31%)
HSVhsv(215, 63%, 45%)
CMYKcmyk(62.9%, 37.1%, 0%, 54.5%)
CIE-LABlab(30.73, 3.35, -28.04)
CIE-LCHlch(30.73, 28.23, 276.81°)
OKLaboklab(40.37% -0.0176 -0.0794)
OKLCHoklch(40.37% 0.081 257.5)
XYZxyz(6.5301, 6.5391, 17.4376)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4974 #74562B
analogous
#2B6D74 #2B4974 #312B74
triadic
#2B4974 #742B49 #49742B
tetradic
#2B4974 #742B6D #74562B #2B7431
square
#2B4974 #742B6D #74562B #2B7431
split-complementary
#2B4974 #74312B #6D742B
monochromatic
#0A111B #1A2D47 #2B4974 #3C65A1 #5883C1

Accessibility & contrast

On white

9.10
#2B4974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4974
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4974#FFFFFF#000000##FFFFFF
##2B49741.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#2D4573
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4974;
/* rgb */ color: rgb(43, 73, 116);
/* oklch */ color: oklch(40.4% 0.081 257.5);
Tailwind
colors: {
  custom: {
    50: '#6b7b9c',
    500: '#2b4974',
    950: '#000000',
  },
}
SCSS
$custom: #2b4974;
$custom-light: #6b7b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4974",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 215.342,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.08133,
    "h": 257.5
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4974

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

Preview Lab → · Contrast checker → · Palette generator →

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