#2B416F#2B416F

#2B416F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.084 H 263.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B416F
RGBrgb(43, 65, 111)
HSLhsl(221, 44%, 30%)
HSVhsv(221, 61%, 44%)
CMYKcmyk(61.3%, 41.4%, 0%, 56.5%)
CIE-LABlab(27.96, 6.87, -29.27)
CIE-LCHlch(27.96, 30.07, 283.20°)
OKLaboklab(38.12% -0.0093 -0.0831)
OKLCHoklch(38.12% 0.084 263.6)
XYZxyz(5.7548, 5.4414, 15.7829)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B416F #6F592B
analogous
#2B636F #2B416F #372B6F
triadic
#2B416F #6F2B41 #416F2B
tetradic
#2B416F #6F2B63 #6F592B #2B6F37
square
#2B416F #6F2B63 #6F592B #2B6F37
split-complementary
#2B416F #6F372B #636F2B
monochromatic
#090D17 #1A2743 #2B416F #3C5B9B #5778BE

Accessibility & contrast

On white

10.06
#2B416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B416F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B416F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B416F#FFFFFF#000000##FFFFFF
##2B416F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#253F6E
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b416f;
/* rgb */ color: rgb(43, 65, 111);
/* oklch */ color: oklch(38.1% 0.084 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b7598',
    500: '#2b416f',
    950: '#000000',
  },
}
SCSS
$custom: #2b416f;
$custom-light: #6b7598;
$custom-dark: #000000;
JSON
{
  "hex": "#2b416f",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 220.588,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.08361,
    "h": 263.6
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#2B416F
secondary
#A18855
accent
#AA54D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B416F

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

Preview Lab → · Contrast checker → · Palette generator →

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