#2B3778#2B3778

#2B3778 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.111 H 271.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2B3778
RGBrgb(43, 55, 120)
HSLhsl(231, 47%, 32%)
HSVhsv(231, 64%, 47%)
CMYKcmyk(64.2%, 54.2%, 0%, 52.9%)
CIE-LABlab(25.57, 17.13, -38.81)
CIE-LCHlch(25.57, 42.42, 293.81°)
OKLaboklab(36.49% 0.0037 -0.1112)
OKLCHoklch(36.49% 0.111 271.9)
XYZxyz(5.7515, 4.6016, 18.3508)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3778 #786C2B
analogous
#2B5E78 #2B3778 #462B78
triadic
#2B3778 #782B37 #37782B
tetradic
#2B3778 #782B5E #786C2B #2B7846
square
#2B3778 #782B5E #786C2B #2B7846
split-complementary
#2B3778 #78462B #5E782B
monochromatic
#0B0E1E #1B224B #2B3778 #3B4CA5 #5A6AC4

Accessibility & contrast

On white

10.94
#2B3778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B3778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3778
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3778#FFFFFF#000000##FFFFFF
##2B37781.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11407A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3778;
/* rgb */ color: rgb(43, 55, 120);
/* oklch */ color: oklch(36.5% 0.111 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6d9f',
    500: '#2b3778',
    950: '#000000',
  },
}
SCSS
$custom: #2b3778;
$custom-light: #6d6d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3778",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 230.649,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36485,
    "c": 0.11128,
    "h": 271.9
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#2B3778
secondary
#AA9C55
accent
#C251D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3778

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

Preview Lab → · Contrast checker → · Palette generator →

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