#2B4273#2B4273

#2B4273 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.088 H 263.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2B4273
RGBrgb(43, 66, 115)
HSLhsl(221, 46%, 31%)
HSVhsv(221, 63%, 45%)
CMYKcmyk(62.6%, 42.6%, 0%, 54.9%)
CIE-LABlab(28.50, 7.67, -30.94)
CIE-LCHlch(28.50, 31.88, 283.93°)
OKLaboklab(38.62% -0.0096 -0.088)
OKLCHoklch(38.62% 0.088 263.8)
XYZxyz(6.0379, 5.6473, 16.9882)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4273 #735C2B
analogous
#2B6673 #2B4273 #382B73
triadic
#2B4273 #732B42 #42732B
tetradic
#2B4273 #732B66 #735C2B #2B7338
square
#2B4273 #732B66 #735C2B #2B7338
split-complementary
#2B4273 #73382B #66732B
monochromatic
#0A0F1A #1A2846 #2B4273 #3C5CA0 #5879C1

Accessibility & contrast

On white

9.86
#2B4273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4273
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4273#FFFFFF#000000##FFFFFF
##2B42731.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4273;
/* rgb */ color: rgb(43, 66, 115);
/* oklch */ color: oklch(38.6% 0.088 263.8);
Tailwind
colors: {
  custom: {
    50: '#6b769b',
    500: '#2b4273',
    950: '#000000',
  },
}
SCSS
$custom: #2b4273;
$custom-light: #6b769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4273",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 220.833,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38619,
    "c": 0.08848,
    "h": 263.8
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#2B4273
secondary
#A58B55
accent
#AB53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4273

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

Preview Lab → · Contrast checker → · Palette generator →

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