#2B416D#2B416D

#2B416D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.081 H 263.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2B416D
RGBrgb(43, 65, 109)
HSLhsl(220, 43%, 30%)
HSVhsv(220, 61%, 43%)
CMYKcmyk(60.6%, 40.4%, 0%, 57.3%)
CIE-LABlab(27.84, 6.13, -28.19)
CIE-LCHlch(27.84, 28.84, 282.26°)
OKLaboklab(37.99% -0.0098 -0.0799)
OKLCHoklch(37.99% 0.081 263)
XYZxyz(5.6459, 5.3979, 15.2094)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B416D #6D572B
analogous
#2B626D #2B416D #362B6D
triadic
#2B416D #6D2B41 #416D2B
tetradic
#2B416D #6D2B62 #6D572B #2B6D36
square
#2B416D #6D2B62 #6D572B #2B6D36
split-complementary
#2B416D #6D362B #626D2B
monochromatic
#090D16 #1A2741 #2B416D #3C5B99 #5678BC

Accessibility & contrast

On white

10.10
#2B416D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B416D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B416D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B416D#FFFFFF#000000##FFFFFF
##2B416D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456F
Deuteranopia (green-blind)
#263F6C
Tritanopia (blue-blind)
#004B51
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b416d;
/* rgb */ color: rgb(43, 65, 109);
/* oklch */ color: oklch(38.0% 0.081 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a7597',
    500: '#2b416d',
    950: '#000000',
  },
}
SCSS
$custom: #2b416d;
$custom-light: #6a7597;
$custom-dark: #000000;
JSON
{
  "hex": "#2b416d",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 220,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37989,
    "c": 0.08052,
    "h": 263
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#2B416D
secondary
#9F8655
accent
#A955D3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2B416D

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

Preview Lab → · Contrast checker → · Palette generator →

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