#2B3097#2B3097

#2B3097 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.165 H 273.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2B3097
RGBrgb(43, 48, 151)
HSLhsl(237, 56%, 38%)
HSVhsv(237, 72%, 59%)
CMYKcmyk(71.5%, 68.2%, 0%, 40.8%)
CIE-LABlab(26.34, 33.28, -56.87)
CIE-LCHlch(26.34, 65.89, 300.34°)
OKLaboklab(37.86% 0.0093 -0.1643)
OKLCHoklch(37.86% 0.165 273.2)
XYZxyz(7.6373, 4.8611, 29.8080)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3097 #97922B
analogous
#2B6697 #2B3097 #5C2B97
triadic
#2B3097 #972B30 #30972B
tetradic
#2B3097 #972B66 #97922B #2B975C
square
#2B3097 #972B66 #97922B #2B975C
split-complementary
#2B3097 #975C2B #66972B
monochromatic
#101238 #1D2167 #2B3097 #393FC7 #686DD4

Accessibility & contrast

On white

10.65
#2B3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3097
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3097#FFFFFF#000000##FFFFFF
##2B30971.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3097;
/* rgb */ color: rgb(43, 48, 151);
/* oklch */ color: oklch(37.9% 0.165 273.2);
Tailwind
colors: {
  custom: {
    50: '#7469b7',
    500: '#2b3097',
    950: '#000000',
  },
}
SCSS
$custom: #2b3097;
$custom-light: #7469b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3097",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 237.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.1646,
    "h": 273.2
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#2B3097
secondary
#BBB763
accent
#D849DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3097

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

Preview Lab → · Contrast checker → · Palette generator →

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