#2B3194#2B3194

#2B3194 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.159 H 273.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2B3194
RGBrgb(43, 49, 148)
HSLhsl(237, 55%, 37%)
HSVhsv(237, 71%, 58%)
CMYKcmyk(70.9%, 66.9%, 0%, 42%)
CIE-LABlab(26.30, 31.56, -55.09)
CIE-LCHlch(26.30, 63.49, 299.80°)
OKLaboklab(37.75% 0.0089 -0.1591)
OKLCHoklch(37.75% 0.159 273.2)
XYZxyz(7.4381, 4.8476, 28.5549)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3194 #948E2B
analogous
#2B6694 #2B3194 #592B94
triadic
#2B3194 #942B31 #31942B
tetradic
#2B3194 #942B66 #948E2B #2B9459
square
#2B3194 #942B66 #948E2B #2B9459
split-complementary
#2B3194 #94592B #66942B
monochromatic
#0F1235 #1D2165 #2B3194 #3941C3 #676DD3

Accessibility & contrast

On white

10.66
#2B3194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B3194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3194
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3194#FFFFFF#000000##FFFFFF
##2B31941.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3194;
/* rgb */ color: rgb(43, 49, 148);
/* oklch */ color: oklch(37.7% 0.159 273.2);
Tailwind
colors: {
  custom: {
    50: '#7369b4',
    500: '#2b3194',
    950: '#000000',
  },
}
SCSS
$custom: #2b3194;
$custom-light: #7369b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3194",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 236.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.15938,
    "h": 273.2
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#2B3194
secondary
#B9B462
accent
#D649DE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3194

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

Preview Lab → · Contrast checker → · Palette generator →

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