#2B4094#2B4094

#2B4094 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.140 H 268.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2B4094
RGBrgb(43, 64, 148)
HSLhsl(228, 55%, 37%)
HSVhsv(228, 71%, 58%)
CMYKcmyk(70.9%, 56.8%, 0%, 42%)
CIE-LABlab(30.20, 21.55, -48.73)
CIE-LCHlch(30.20, 53.28, 293.86°)
OKLaboklab(40.64% -0.0031 -0.1403)
OKLCHoklch(40.64% 0.14 268.7)
XYZxyz(8.1731, 6.3177, 28.7999)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4094 #947F2B
analogous
#2B7594 #2B4094 #4A2B94
triadic
#2B4094 #942B40 #40942B
tetradic
#2B4094 #942B75 #947F2B #2B944A
square
#2B4094 #942B75 #947F2B #2B944A
split-complementary
#2B4094 #944A2B #75942B
monochromatic
#0F1735 #1D2B65 #2B4094 #3955C3 #677CD3

Accessibility & contrast

On white

9.28
#2B4094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4094
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4094#FFFFFF#000000##FFFFFF
##2B40941.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4094;
/* rgb */ color: rgb(43, 64, 148);
/* oklch */ color: oklch(40.6% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#7274b4',
    500: '#2b4094',
    950: '#000000',
  },
}
SCSS
$custom: #2b4094;
$custom-light: #7274b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4094",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 228,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40639,
    "c": 0.14032,
    "h": 268.7
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#2B4094
secondary
#B9A862
accent
#C149DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4094

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

Preview Lab → · Contrast checker → · Palette generator →

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