#2B3D94#2B3D94

#2B3D94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.144 H 269.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B3D94
RGBrgb(43, 61, 148)
HSLhsl(230, 55%, 37%)
HSVhsv(230, 71%, 58%)
CMYKcmyk(70.9%, 58.8%, 0%, 42%)
CIE-LABlab(29.38, 23.58, -50.05)
CIE-LCHlch(29.38, 55.33, 295.23°)
OKLaboklab(40.03% -0.0005 -0.1442)
OKLCHoklch(40.03% 0.144 269.8)
XYZxyz(8.0085, 5.9884, 28.7451)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D94 #94822B
analogous
#2B7294 #2B3D94 #4D2B94
triadic
#2B3D94 #942B3D #3D942B
tetradic
#2B3D94 #942B72 #94822B #2B944D
square
#2B3D94 #942B72 #94822B #2B944D
split-complementary
#2B3D94 #944D2B #72942B
monochromatic
#0F1635 #1D2965 #2B3D94 #3951C3 #6779D3

Accessibility & contrast

On white

9.56
#2B3D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B3D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D94
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D94#FFFFFF#000000##FFFFFF
##2B3D941.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3d94;
/* rgb */ color: rgb(43, 61, 148);
/* oklch */ color: oklch(40.0% 0.144 269.8);
Tailwind
colors: {
  custom: {
    50: '#7272b4',
    500: '#2b3d94',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d94;
$custom-light: #7272b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d94",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 229.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.14423,
    "h": 269.8
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#2B3D94
secondary
#B9AA62
accent
#C549DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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