#2B4190#2B4190

#2B4190 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.133 H 268.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2B4190
RGBrgb(43, 65, 144)
HSLhsl(227, 54%, 37%)
HSVhsv(227, 70%, 56%)
CMYKcmyk(70.1%, 54.9%, 0%, 43.5%)
CIE-LABlab(30.17, 19.35, -46.32)
CIE-LCHlch(30.17, 50.20, 292.68°)
OKLaboklab(40.52% -0.0042 -0.1332)
OKLCHoklch(40.52% 0.133 268.2)
XYZxyz(7.9189, 6.3070, 27.1802)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4190 #907A2B
analogous
#2B7490 #2B4190 #482B90
triadic
#2B4190 #902B41 #41902B
tetradic
#2B4190 #902B74 #907A2B #2B9048
square
#2B4190 #902B74 #907A2B #2B9048
split-complementary
#2B4190 #90482B #74902B
monochromatic
#0F1632 #1D2C61 #2B4190 #3956BF #657CD1

Accessibility & contrast

On white

9.29
#2B4190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B4190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4190
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4190#FFFFFF#000000##FFFFFF
##2B41901.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4190;
/* rgb */ color: rgb(43, 65, 144);
/* oklch */ color: oklch(40.5% 0.133 268.2);
Tailwind
colors: {
  custom: {
    50: '#7175b1',
    500: '#2b4190',
    950: '#000000',
  },
}
SCSS
$custom: #2b4190;
$custom-light: #7175b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4190",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 226.931,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.13326,
    "h": 268.2
  },
  "luminance": 0.06308
}

Semantic roles & 50–950 ramp

primary
#2B4190
secondary
#B7A460
accent
#BD4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4190

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

Preview Lab → · Contrast checker → · Palette generator →

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