#2B4296#2B4296

#2B4296 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.141 H 268.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2B4296
RGBrgb(43, 66, 150)
HSLhsl(227, 55%, 38%)
HSVhsv(227, 71%, 59%)
CMYKcmyk(71.3%, 56%, 0%, 41.2%)
CIE-LABlab(30.90, 20.96, -48.81)
CIE-LCHlch(30.90, 53.12, 293.24°)
OKLaboklab(41.22% -0.0047 -0.1405)
OKLCHoklch(41.22% 0.141 268.1)
XYZxyz(8.4476, 6.6112, 29.6791)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4296 #967F2B
analogous
#2B7796 #2B4296 #4A2B96
triadic
#2B4296 #962B42 #42962B
tetradic
#2B4296 #962B77 #967F2B #2B964A
square
#2B4296 #962B77 #967F2B #2B964A
split-complementary
#2B4296 #964A2B #77962B
monochromatic
#101837 #1D2D66 #2B4296 #3957C6 #687FD4

Accessibility & contrast

On white

9.04
#2B4296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B4296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4296
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4296#FFFFFF#000000##FFFFFF
##2B42961.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4296;
/* rgb */ color: rgb(43, 66, 150);
/* oklch */ color: oklch(41.2% 0.141 268.1);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2b4296',
    950: '#000000',
  },
}
SCSS
$custom: #2b4296;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4296",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 227.103,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.14057,
    "h": 268.1
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#2B4296
secondary
#BAA763
accent
#BF49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4296

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

Preview Lab → · Contrast checker → · Palette generator →

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