#2B3770#2B3770

#2B3770 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.099 H 271.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2B3770
RGBrgb(43, 55, 112)
HSLhsl(230, 45%, 30%)
HSVhsv(230, 62%, 44%)
CMYKcmyk(61.6%, 50.9%, 0%, 56.1%)
CIE-LABlab(25.00, 14.13, -34.63)
CIE-LCHlch(25.00, 37.40, 292.20°)
OKLaboklab(35.87% 0.0028 -0.0989)
OKLCHoklch(35.87% 0.099 271.6)
XYZxyz(5.2861, 4.4154, 15.8998)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3770 #70642B
analogous
#2B5970 #2B3770 #412B70
triadic
#2B3770 #702B37 #37702B
tetradic
#2B3770 #702B59 #70642B #2B7041
square
#2B3770 #702B59 #70642B #2B7041
split-complementary
#2B3770 #70412B #59702B
monochromatic
#090C18 #1A2144 #2B3770 #3C4D9C #5769BE

Accessibility & contrast

On white

11.15
#2B3770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B3770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3770
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3770#FFFFFF#000000##FFFFFF
##2B37701.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E72
Deuteranopia (green-blind)
#0F386F
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3770;
/* rgb */ color: rgb(43, 55, 112);
/* oklch */ color: oklch(35.9% 0.099 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b6d99',
    500: '#2b3770',
    950: '#000000',
  },
}
SCSS
$custom: #2b3770;
$custom-light: #6b6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3770",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 229.565,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35873,
    "c": 0.09898,
    "h": 271.6
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#2B3770
secondary
#A29455
accent
#BE54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3770

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

Preview Lab → · Contrast checker → · Palette generator →

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