#2B3297#2B3297

#2B3297 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.162 H 272.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2B3297
RGBrgb(43, 50, 151)
HSLhsl(236, 56%, 38%)
HSVhsv(236, 72%, 59%)
CMYKcmyk(71.5%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.82, 31.99, -56.08)
CIE-LCHlch(26.82, 64.57, 299.70°)
OKLaboklab(38.21% 0.0079 -0.162)
OKLCHoklch(38.21% 0.162 272.8)
XYZxyz(7.7209, 5.0284, 29.8358)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3297 #97902B
analogous
#2B6897 #2B3297 #5A2B97
triadic
#2B3297 #972B32 #32972B
tetradic
#2B3297 #972B68 #97902B #2B975A
square
#2B3297 #972B68 #97902B #2B975A
split-complementary
#2B3297 #975A2B #68972B
monochromatic
#101238 #1D2267 #2B3297 #3942C7 #686FD4

Accessibility & contrast

On white

10.47
#2B3297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B3297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3297
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3297#FFFFFF#000000##FFFFFF
##2B32971.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3297;
/* rgb */ color: rgb(43, 50, 151);
/* oklch */ color: oklch(38.2% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#746ab7',
    500: '#2b3297',
    950: '#000000',
  },
}
SCSS
$custom: #2b3297;
$custom-light: #746ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3297",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 236.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.16222,
    "h": 272.8
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#2B3297
secondary
#BBB563
accent
#D549DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3297

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

Preview Lab → · Contrast checker → · Palette generator →

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