#2B4192#2B4192

#2B4192 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.136 H 268.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2B4192
RGBrgb(43, 65, 146)
HSLhsl(227, 54%, 37%)
HSVhsv(227, 71%, 57%)
CMYKcmyk(70.5%, 55.5%, 0%, 42.7%)
CIE-LABlab(30.32, 20.11, -47.30)
CIE-LCHlch(30.32, 51.40, 293.04°)
OKLaboklab(40.68% -0.0041 -0.1361)
OKLCHoklch(40.68% 0.136 268.3)
XYZxyz(8.0731, 6.3687, 27.9924)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4192 #927C2B
analogous
#2B7592 #2B4192 #482B92
triadic
#2B4192 #922B41 #41922B
tetradic
#2B4192 #922B75 #927C2B #2B9248
square
#2B4192 #922B75 #927C2B #2B9248
split-complementary
#2B4192 #92482B #75922B
monochromatic
#0F1733 #1D2C63 #2B4192 #3956C1 #667DD2

Accessibility & contrast

On white

9.23
#2B4192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B4192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4192
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4192#FFFFFF#000000##FFFFFF
##2B41921.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4192;
/* rgb */ color: rgb(43, 65, 146);
/* oklch */ color: oklch(40.7% 0.136 268.3);
Tailwind
colors: {
  custom: {
    50: '#7275b3',
    500: '#2b4192',
    950: '#000000',
  },
}
SCSS
$custom: #2b4192;
$custom-light: #7275b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4192",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 227.184,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.13614,
    "h": 268.3
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#2B4192
secondary
#B8A561
accent
#BE4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4192

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

Preview Lab → · Contrast checker → · Palette generator →

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