#2B4166#2B4166

#2B4166 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.6% C 0.070 H 260.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2B4166
RGBrgb(43, 65, 102)
HSLhsl(218, 41%, 28%)
HSVhsv(218, 58%, 40%)
CMYKcmyk(57.8%, 36.3%, 0%, 60%)
CIE-LABlab(27.44, 3.57, -24.34)
CIE-LCHlch(27.44, 24.60, 278.35°)
OKLaboklab(37.55% -0.0117 -0.0687)
OKLCHoklch(37.55% 0.07 260.3)
XYZxyz(5.2840, 5.2531, 13.3033)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4166 #66502B
analogous
#2B5E66 #2B4166 #322B66
triadic
#2B4166 #662B41 #41662B
tetradic
#2B4166 #662B5E #66502B #2B6632
square
#2B4166 #662B5E #66502B #2B6632
split-complementary
#2B4166 #66322B #5E662B
monochromatic
#090E16 #19263B #2B4166 #3D5C91 #5479B7

Accessibility & contrast

On white

10.24
#2B4166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B4166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4166
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4166#FFFFFF#000000##FFFFFF
##2B41661.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324468
Deuteranopia (green-blind)
#2B3E65
Tritanopia (blue-blind)
#08494E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b4166;
/* rgb */ color: rgb(43, 65, 102);
/* oklch */ color: oklch(37.6% 0.070 260.3);
Tailwind
colors: {
  custom: {
    50: '#697592',
    500: '#2b4166',
    950: '#000000',
  },
}
SCSS
$custom: #2b4166;
$custom-light: #697592;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4166",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 217.627,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37553,
    "c": 0.06968,
    "h": 260.3
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#2B4166
secondary
#987F55
accent
#A357D1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2B4166

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

Preview Lab → · Contrast checker → · Palette generator →

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