#2B3773#2B3773

#2B3773 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.104 H 271.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2B3773
RGBrgb(43, 55, 115)
HSLhsl(230, 46%, 31%)
HSVhsv(230, 63%, 45%)
CMYKcmyk(62.6%, 52.2%, 0%, 54.9%)
CIE-LABlab(25.21, 15.25, -36.21)
CIE-LCHlch(25.21, 39.29, 292.84°)
OKLaboklab(36.1% 0.0032 -0.1036)
OKLCHoklch(36.1% 0.104 271.8)
XYZxyz(5.4559, 4.4833, 16.7942)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3773 #73672B
analogous
#2B5B73 #2B3773 #432B73
triadic
#2B3773 #732B37 #37732B
tetradic
#2B3773 #732B5B #73672B #2B7343
square
#2B3773 #732B5B #73672B #2B7343
split-complementary
#2B3773 #73432B #5B732B
monochromatic
#0A0C1A #1A2246 #2B3773 #3C4CA0 #5869C1

Accessibility & contrast

On white

11.07
#2B3773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B3773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3773
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3773#FFFFFF#000000##FFFFFF
##2B37731.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#093972
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3773;
/* rgb */ color: rgb(43, 55, 115);
/* oklch */ color: oklch(36.1% 0.104 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c6d9c',
    500: '#2b3773',
    950: '#000000',
  },
}
SCSS
$custom: #2b3773;
$custom-light: #6c6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3773",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 115
  },
  "hsl": {
    "h": 230,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36099,
    "c": 0.10363,
    "h": 271.8
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#2B3773
secondary
#A59755
accent
#BF53D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3773

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

Preview Lab → · Contrast checker → · Palette generator →

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