#2B4895#2B4895

#2B4895 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.131 H 265.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2B4895
RGBrgb(43, 72, 149)
HSLhsl(224, 55%, 38%)
HSVhsv(224, 71%, 58%)
CMYKcmyk(71.1%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.52, 16.52, -45.59)
CIE-LCHlch(32.52, 48.49, 289.92°)
OKLaboklab(42.42% -0.0101 -0.1309)
OKLCHoklch(42.42% 0.131 265.6)
XYZxyz(8.7365, 7.3174, 29.3799)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4895 #95782B
analogous
#2B7D95 #2B4895 #432B95
triadic
#2B4895 #952B48 #48952B
tetradic
#2B4895 #952B7D #95782B #2B9543
square
#2B4895 #952B7D #95782B #2B9543
split-complementary
#2B4895 #95432B #7D952B
monochromatic
#101A36 #1D3166 #2B4895 #395FC4 #6785D3

Accessibility & contrast

On white

8.52
#2B4895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B4895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4895
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4895#FFFFFF#000000##FFFFFF
##2B48951.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4895;
/* rgb */ color: rgb(43, 72, 149);
/* oklch */ color: oklch(42.4% 0.131 265.6);
Tailwind
colors: {
  custom: {
    50: '#727ab5',
    500: '#2b4895',
    950: '#000000',
  },
}
SCSS
$custom: #2b4895;
$custom-light: #727ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4895",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 223.585,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.13131,
    "h": 265.6
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#2B4895
secondary
#BAA262
accent
#B649DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4895

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

Preview Lab → · Contrast checker → · Palette generator →

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