#2B4297#2B4297

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

Color values

HEX#2B4297
RGBrgb(43, 66, 151)
HSLhsl(227, 56%, 38%)
HSVhsv(227, 72%, 59%)
CMYKcmyk(71.5%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.98, 21.34, -49.29)
CIE-LCHlch(30.98, 53.71, 293.41°)
OKLaboklab(41.3% -0.0046 -0.1419)
OKLCHoklch(41.3% 0.142 268.1)
XYZxyz(8.5285, 6.6435, 30.1050)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4297 #97802B
analogous
#2B7897 #2B4297 #4A2B97
triadic
#2B4297 #972B42 #42972B
tetradic
#2B4297 #972B78 #97802B #2B974A
square
#2B4297 #972B78 #97802B #2B974A
split-complementary
#2B4297 #974A2B #78972B
monochromatic
#101838 #1D2D67 #2B4297 #3957C7 #687FD4

Accessibility & contrast

On white

9.02
#2B4297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B4297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4297
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4297#FFFFFF#000000##FFFFFF
##2B42971.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4297;
/* rgb */ color: rgb(43, 66, 151);
/* oklch */ color: oklch(41.3% 0.142 268.1);
Tailwind
colors: {
  custom: {
    50: '#7376b6',
    500: '#2b4297',
    950: '#000000',
  },
}
SCSS
$custom: #2b4297;
$custom-light: #7376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4297",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 227.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.142,
    "h": 268.1
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4297

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

Preview Lab → · Contrast checker → · Palette generator →

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