#2B4697#2B4697

#2B4697 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.137 H 266.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2B4697
RGBrgb(43, 70, 151)
HSLhsl(225, 56%, 38%)
HSVhsv(225, 72%, 59%)
CMYKcmyk(71.5%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.10, 18.64, -47.49)
CIE-LCHlch(32.10, 51.01, 291.43°)
OKLaboklab(42.14% -0.0081 -0.1365)
OKLCHoklch(42.14% 0.137 266.6)
XYZxyz(8.7704, 7.1274, 30.1857)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4697 #977C2B
analogous
#2B7C97 #2B4697 #462B97
triadic
#2B4697 #972B46 #46972B
tetradic
#2B4697 #972B7C #977C2B #2B9746
square
#2B4697 #972B7C #977C2B #2B9746
split-complementary
#2B4697 #97462B #7C972B
monochromatic
#101A38 #1D3067 #2B4697 #395CC7 #6883D4

Accessibility & contrast

On white

8.66
#2B4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4697
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4697#FFFFFF#000000##FFFFFF
##2B46971.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4697;
/* rgb */ color: rgb(43, 70, 151);
/* oklch */ color: oklch(42.1% 0.137 266.6);
Tailwind
colors: {
  custom: {
    50: '#7379b6',
    500: '#2b4697',
    950: '#000000',
  },
}
SCSS
$custom: #2b4697;
$custom-light: #7379b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4697",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 225,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42139,
    "c": 0.13679,
    "h": 266.6
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#2B4697
secondary
#BBA563
accent
#B949DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4697

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

Preview Lab → · Contrast checker → · Palette generator →

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