#2B4A90#2B4A90

#2B4A90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.121 H 264.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2B4A90
RGBrgb(43, 74, 144)
HSLhsl(222, 54%, 37%)
HSVhsv(222, 70%, 56%)
CMYKcmyk(70.1%, 48.6%, 0%, 43.5%)
CIE-LABlab(32.75, 13.25, -42.16)
CIE-LCHlch(32.75, 44.19, 287.45°)
OKLaboklab(42.48% -0.0127 -0.1208)
OKLCHoklch(42.48% 0.121 264)
XYZxyz(8.4773, 7.4239, 27.3663)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A90 #90712B
analogous
#2B7D90 #2B4A90 #3F2B90
triadic
#2B4A90 #902B4A #4A902B
tetradic
#2B4A90 #902B7D #90712B #2B903F
square
#2B4A90 #902B7D #90712B #2B903F
split-complementary
#2B4A90 #903F2B #7D902B
monochromatic
#0F1A32 #1D3261 #2B4A90 #3962BF #6586D1

Accessibility & contrast

On white

8.45
#2B4A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B4A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A90
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A90#FFFFFF#000000##FFFFFF
##2B4A901.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255293
Deuteranopia (green-blind)
#0E498F
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4a90;
/* rgb */ color: rgb(43, 74, 144);
/* oklch */ color: oklch(42.5% 0.121 264.0);
Tailwind
colors: {
  custom: {
    50: '#717cb1',
    500: '#2b4a90',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a90;
$custom-light: #717cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a90",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 221.584,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42483,
    "c": 0.12147,
    "h": 264
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#2B4A90
secondary
#B79C60
accent
#B04ADD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2B4A90

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

Preview Lab → · Contrast checker → · Palette generator →

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