#2B4D90#2B4D90

#2B4D90 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.118 H 262.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2B4D90
RGBrgb(43, 77, 144)
HSLhsl(220, 54%, 37%)
HSVhsv(220, 70%, 56%)
CMYKcmyk(70.1%, 46.5%, 0%, 43.5%)
CIE-LABlab(33.63, 11.24, -40.74)
CIE-LCHlch(33.63, 42.27, 285.42°)
OKLaboklab(43.16% -0.0157 -0.1166)
OKLCHoklch(43.16% 0.118 262.3)
XYZxyz(8.6824, 7.8341, 27.4347)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D90 #906E2B
analogous
#2B8090 #2B4D90 #3C2B90
triadic
#2B4D90 #902B4D #4D902B
tetradic
#2B4D90 #902B80 #906E2B #2B903C
square
#2B4D90 #902B80 #906E2B #2B903C
split-complementary
#2B4D90 #903C2B #80902B
monochromatic
#0F1B32 #1D3461 #2B4D90 #3966BF #6589D1

Accessibility & contrast

On white

8.18
#2B4D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B4D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D90
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D90#FFFFFF#000000##FFFFFF
##2B4D901.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5493
Deuteranopia (green-blind)
#184B8F
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4d90;
/* rgb */ color: rgb(43, 77, 144);
/* oklch */ color: oklch(43.2% 0.118 262.3);
Tailwind
colors: {
  custom: {
    50: '#717eb1',
    500: '#2b4d90',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d90;
$custom-light: #717eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d90",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 144
  },
  "hsl": {
    "h": 219.802,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4316,
    "c": 0.11764,
    "h": 262.3
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#2B4D90
secondary
#B79A60
accent
#AC4ADD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2B4D90

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

Preview Lab → · Contrast checker → · Palette generator →

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