#2B4274#2B4274

#2B4274 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.090 H 264.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2B4274
RGBrgb(43, 66, 116)
HSLhsl(221, 46%, 31%)
HSVhsv(221, 63%, 45%)
CMYKcmyk(62.9%, 43.1%, 0%, 54.5%)
CIE-LABlab(28.57, 8.05, -31.47)
CIE-LCHlch(28.57, 32.48, 284.34°)
OKLaboklab(38.69% -0.0093 -0.0895)
OKLCHoklch(38.69% 0.09 264)
XYZxyz(6.0958, 5.6705, 17.2929)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4274 #745D2B
analogous
#2B6674 #2B4274 #382B74
triadic
#2B4274 #742B42 #42742B
tetradic
#2B4274 #742B66 #745D2B #2B7438
square
#2B4274 #742B66 #745D2B #2B7438
split-complementary
#2B4274 #74382B #66742B
monochromatic
#0A0F1B #1A2947 #2B4274 #3C5BA1 #5879C1

Accessibility & contrast

On white

9.84
#2B4274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B4274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4274
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4274#FFFFFF#000000##FFFFFF
##2B42741.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#224073
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4274;
/* rgb */ color: rgb(43, 66, 116);
/* oklch */ color: oklch(38.7% 0.090 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c769c',
    500: '#2b4274',
    950: '#000000',
  },
}
SCSS
$custom: #2b4274;
$custom-light: #6c769c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4274",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 221.096,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38686,
    "c": 0.09002,
    "h": 264
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#2B4274
secondary
#A68C55
accent
#AC52D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4274

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

Preview Lab → · Contrast checker → · Palette generator →

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