#2B4397#2B4397

#2B4397 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.141 H 267.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B4397
RGBrgb(43, 67, 151)
HSLhsl(227, 56%, 38%)
HSVhsv(227, 72%, 59%)
CMYKcmyk(71.5%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.26, 20.66, -48.84)
CIE-LCHlch(31.26, 53.03, 292.93°)
OKLaboklab(41.51% -0.0055 -0.1406)
OKLCHoklch(41.51% 0.141 267.8)
XYZxyz(8.5874, 6.7614, 30.1247)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4397 #977F2B
analogous
#2B7997 #2B4397 #492B97
triadic
#2B4397 #972B43 #43972B
tetradic
#2B4397 #972B79 #977F2B #2B9749
square
#2B4397 #972B79 #977F2B #2B9749
split-complementary
#2B4397 #97492B #79972B
monochromatic
#101938 #1D2E67 #2B4397 #3958C7 #6880D4

Accessibility & contrast

On white

8.93
#2B4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4397
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4397#FFFFFF#000000##FFFFFF
##2B43971.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4397;
/* rgb */ color: rgb(43, 67, 151);
/* oklch */ color: oklch(41.5% 0.141 267.8);
Tailwind
colors: {
  custom: {
    50: '#7376b6',
    500: '#2b4397',
    950: '#000000',
  },
}
SCSS
$custom: #2b4397;
$custom-light: #7376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4397",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 226.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.14069,
    "h": 267.8
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#2B4397
secondary
#BBA763
accent
#BE49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4397

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

Preview Lab → · Contrast checker → · Palette generator →

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