#2B4C8F#2B4C8F

#2B4C8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.117 H 262.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2B4C8F
RGBrgb(43, 76, 143)
HSLhsl(220, 54%, 36%)
HSVhsv(220, 70%, 56%)
CMYKcmyk(69.9%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.27, 11.53, -40.71)
CIE-LCHlch(33.27, 42.31, 285.81°)
OKLaboklab(42.86% -0.0148 -0.1165)
OKLCHoklch(42.86% 0.117 262.7)
XYZxyz(8.5369, 7.6648, 27.0108)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C8F #8F6E2B
analogous
#2B7E8F #2B4C8F #3C2B8F
triadic
#2B4C8F #8F2B4C #4C8F2B
tetradic
#2B4C8F #8F2B7E #8F6E2B #2B8F3C
square
#2B4C8F #8F2B7E #8F6E2B #2B8F3C
split-complementary
#2B4C8F #8F3C2B #7E8F2B
monochromatic
#0F1A31 #1D3360 #2B4C8F #3965BE #6488D0

Accessibility & contrast

On white

8.29
#2B4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C8F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C8F#FFFFFF#000000##FFFFFF
##2B4C8F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#174A8E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4c8f;
/* rgb */ color: rgb(43, 76, 143);
/* oklch */ color: oklch(42.9% 0.117 262.7);
Tailwind
colors: {
  custom: {
    50: '#717db0',
    500: '#2b4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c8f;
$custom-light: #717db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c8f",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 220.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.11745,
    "h": 262.7
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#2B4C8F
secondary
#B79A5F
accent
#AD4BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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