#2B3E97#2B3E97

#2B3E97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.147 H 269.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2B3E97
RGBrgb(43, 62, 151)
HSLhsl(229, 56%, 38%)
HSVhsv(229, 72%, 59%)
CMYKcmyk(71.5%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.89, 24.04, -51.06)
CIE-LCHlch(29.89, 56.44, 295.21°)
OKLaboklab(40.48% -0.0013 -0.1472)
OKLCHoklch(40.48% 0.147 269.5)
XYZxyz(8.3029, 6.1924, 30.0298)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E97 #97842B
analogous
#2B7497 #2B3E97 #4E2B97
triadic
#2B3E97 #972B3E #3E972B
tetradic
#2B3E97 #972B74 #97842B #2B974E
square
#2B3E97 #972B74 #97842B #2B974E
split-complementary
#2B3E97 #974E2B #74972B
monochromatic
#101738 #1D2A67 #2B3E97 #3952C7 #687BD4

Accessibility & contrast

On white

9.38
#2B3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E97
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E97#FFFFFF#000000##FFFFFF
##2B3E971.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3e97;
/* rgb */ color: rgb(43, 62, 151);
/* oklch */ color: oklch(40.5% 0.147 269.5);
Tailwind
colors: {
  custom: {
    50: '#7373b6',
    500: '#2b3e97',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e97;
$custom-light: #7373b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e97",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 229.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.14718,
    "h": 269.5
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#2B3E97
secondary
#BBAB63
accent
#C549DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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