#2B3D97#2B3D97

#2B3D97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.148 H 269.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2B3D97
RGBrgb(43, 61, 151)
HSLhsl(230, 56%, 38%)
HSVhsv(230, 72%, 59%)
CMYKcmyk(71.5%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.62, 24.71, -51.50)
CIE-LCHlch(29.62, 57.12, 295.64°)
OKLaboklab(40.28% -0.0004 -0.1485)
OKLCHoklch(40.28% 0.148 269.8)
XYZxyz(8.2490, 6.0846, 30.0119)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D97 #97852B
analogous
#2B7397 #2B3D97 #4F2B97
triadic
#2B3D97 #972B3D #3D972B
tetradic
#2B3D97 #972B73 #97852B #2B974F
square
#2B3D97 #972B73 #97852B #2B974F
split-complementary
#2B3D97 #974F2B #73972B
monochromatic
#101738 #1D2A67 #2B3D97 #3950C7 #687AD4

Accessibility & contrast

On white

9.47
#2B3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D97
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D97#FFFFFF#000000##FFFFFF
##2B3D971.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3d97;
/* rgb */ color: rgb(43, 61, 151);
/* oklch */ color: oklch(40.3% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#7372b6',
    500: '#2b3d97',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d97;
$custom-light: #7372b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d97",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 230,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.14847,
    "h": 269.8
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#2B3D97
secondary
#BBAC63
accent
#C649DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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