#2B4F8D#2B4F8D

#2B4F8D is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.111 H 260.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4F8D
RGBrgb(43, 79, 141)
HSLhsl(218, 53%, 36%)
HSVhsv(218, 70%, 55%)
CMYKcmyk(69.5%, 44%, 0%, 44.7%)
CIE-LABlab(34.04, 8.76, -38.26)
CIE-LCHlch(34.04, 39.25, 282.90°)
OKLaboklab(43.41% -0.0182 -0.1093)
OKLCHoklch(43.41% 0.111 260.5)
XYZxyz(8.5982, 8.0278, 26.2905)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F8D #8D692B
analogous
#2B808D #2B4F8D #382B8D
triadic
#2B4F8D #8D2B4F #4F8D2B
tetradic
#2B4F8D #8D2B80 #8D692B #2B8D38
square
#2B4F8D #8D2B80 #8D692B #2B8D38
split-complementary
#2B4F8D #8D382B #808D2B
monochromatic
#0E1A2F #1D355E #2B4F8D #3969BC #638BCF

Accessibility & contrast

On white

8.06
#2B4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B4F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F8D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F8D#FFFFFF#000000##FFFFFF
##2B4F8D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4f8d;
/* rgb */ color: rgb(43, 79, 141);
/* oklch */ color: oklch(43.4% 0.111 260.5);
Tailwind
colors: {
  custom: {
    50: '#707faf',
    500: '#2b4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f8d;
$custom-light: #707faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f8d",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 217.959,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43411,
    "c": 0.11077,
    "h": 260.5
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#2B4F8D
secondary
#B6955E
accent
#A74BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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