#2B4C9F#2B4C9F

#2B4C9F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.140 H 264.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2B4C9F
RGBrgb(43, 76, 159)
HSLhsl(223, 57%, 40%)
HSVhsv(223, 73%, 62%)
CMYKcmyk(73%, 52.2%, 0%, 37.6%)
CIE-LABlab(34.36, 17.66, -48.66)
CIE-LCHlch(34.36, 51.76, 289.95°)
OKLaboklab(44.04% -0.0126 -0.1399)
OKLCHoklch(44.04% 0.14 264.9)
XYZxyz(9.8365, 8.1846, 33.8556)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C9F #9F7E2B
analogous
#2B869F #2B4C9F #442B9F
triadic
#2B4C9F #9F2B4C #4C9F2B
tetradic
#2B4C9F #9F2B86 #9F7E2B #2B9F44
square
#2B4C9F #9F2B86 #9F7E2B #2B9F44
split-complementary
#2B4C9F #9F442B #869F2B
monochromatic
#111E3F #1E356F #2B4C9F #3D65CA #6D8BD7

Accessibility & contrast

On white

7.96
#2B4C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B4C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C9F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C9F#FFFFFF#000000##FFFFFF
##2B4C9F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4c9f;
/* rgb */ color: rgb(43, 76, 159);
/* oklch */ color: oklch(44.0% 0.140 264.9);
Tailwind
colors: {
  custom: {
    50: '#747dbc',
    500: '#2b4c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c9f;
$custom-light: #747dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c9f",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 159
  },
  "hsl": {
    "h": 222.931,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.14046,
    "h": 264.9
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#2B4C9F
secondary
#BEA667
accent
#B547E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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