#2B4889#2B4889

#2B4889 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.114 H 264.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2B4889
RGBrgb(43, 72, 137)
HSLhsl(221, 52%, 35%)
HSVhsv(221, 69%, 54%)
CMYKcmyk(68.6%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.70, 11.93, -39.55)
CIE-LCHlch(31.70, 41.31, 286.78°)
OKLaboklab(41.53% -0.0119 -0.1132)
OKLCHoklch(41.53% 0.114 264)
XYZxyz(7.8274, 6.9537, 24.5918)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4889 #896C2B
analogous
#2B7789 #2B4889 #3D2B89
triadic
#2B4889 #892B48 #48892B
tetradic
#2B4889 #892B77 #896C2B #2B893D
square
#2B4889 #892B77 #896C2B #2B893D
split-complementary
#2B4889 #893D2B #77892B
monochromatic
#0E172C #1C305A #2B4889 #3A60B8 #6182CD

Accessibility & contrast

On white

8.78
#2B4889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2B4889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4889
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4889#FFFFFF#000000##FFFFFF
##2B48891.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4889;
/* rgb */ color: rgb(43, 72, 137);
/* oklch */ color: oklch(41.5% 0.114 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f7aac',
    500: '#2b4889',
    950: '#000000',
  },
}
SCSS
$custom: #2b4889;
$custom-light: #6f7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4889",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 221.489,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.11379,
    "h": 264
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#2B4889
secondary
#B3995C
accent
#AF4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4889

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

Preview Lab → · Contrast checker → · Palette generator →

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