#2B4F90#2B4F90

#2B4F90 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.115 H 261.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2B4F90
RGBrgb(43, 79, 144)
HSLhsl(219, 54%, 37%)
HSVhsv(219, 70%, 56%)
CMYKcmyk(70.1%, 45.1%, 0%, 43.5%)
CIE-LABlab(34.23, 9.91, -39.79)
CIE-LCHlch(34.23, 41.01, 283.98°)
OKLaboklab(43.62% -0.0176 -0.1138)
OKLCHoklch(43.62% 0.115 261.2)
XYZxyz(8.8245, 8.1183, 27.4821)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F90 #906C2B
analogous
#2B8290 #2B4F90 #3A2B90
triadic
#2B4F90 #902B4F #4F902B
tetradic
#2B4F90 #902B82 #906C2B #2B903A
square
#2B4F90 #902B82 #906C2B #2B903A
split-complementary
#2B4F90 #903A2B #82902B
monochromatic
#0F1B32 #1D3561 #2B4F90 #3969BF #658BD1

Accessibility & contrast

On white

8.00
#2B4F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B4F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F90
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F90#FFFFFF#000000##FFFFFF
##2B4F901.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#1D4C8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4f90;
/* rgb */ color: rgb(43, 79, 144);
/* oklch */ color: oklch(43.6% 0.115 261.2);
Tailwind
colors: {
  custom: {
    50: '#717fb1',
    500: '#2b4f90',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f90;
$custom-light: #717fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f90",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 218.614,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43616,
    "c": 0.11512,
    "h": 261.2
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#2B4F90
secondary
#B79860
accent
#A94ADD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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