#2B4097#2B4097

#2B4097 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.145 H 268.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2B4097
RGBrgb(43, 64, 151)
HSLhsl(228, 56%, 38%)
HSVhsv(228, 72%, 59%)
CMYKcmyk(71.5%, 57.6%, 0%, 40.8%)
CIE-LABlab(30.43, 22.69, -50.18)
CIE-LCHlch(30.43, 55.07, 294.33°)
OKLaboklab(40.89% -0.0029 -0.1446)
OKLCHoklch(40.89% 0.145 268.8)
XYZxyz(8.4137, 6.4139, 30.0668)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4097 #97822B
analogous
#2B7697 #2B4097 #4C2B97
triadic
#2B4097 #972B40 #40972B
tetradic
#2B4097 #972B76 #97822B #2B974C
square
#2B4097 #972B76 #97822B #2B974C
split-complementary
#2B4097 #974C2B #76972B
monochromatic
#101838 #1D2C67 #2B4097 #3954C7 #687DD4

Accessibility & contrast

On white

9.20
#2B4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4097
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4097#FFFFFF#000000##FFFFFF
##2B40971.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4097;
/* rgb */ color: rgb(43, 64, 151);
/* oklch */ color: oklch(40.9% 0.145 268.8);
Tailwind
colors: {
  custom: {
    50: '#7374b6',
    500: '#2b4097',
    950: '#000000',
  },
}
SCSS
$custom: #2b4097;
$custom-light: #7374b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4097",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 228.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40888,
    "c": 0.14459,
    "h": 268.8
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#2B4097
secondary
#BBAA63
accent
#C249DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4097

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

Preview Lab → · Contrast checker → · Palette generator →

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