#2B3A73#2B3A73

#2B3A73 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.099 H 269.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2B3A73
RGBrgb(43, 58, 115)
HSLhsl(228, 46%, 31%)
HSVhsv(228, 63%, 45%)
CMYKcmyk(62.6%, 49.6%, 0%, 54.9%)
CIE-LABlab(26.09, 13.17, -34.79)
CIE-LCHlch(26.09, 37.20, 290.73°)
OKLaboklab(36.77% -0.0002 -0.0994)
OKLCHoklch(36.77% 0.099 269.9)
XYZxyz(5.6028, 4.7771, 16.8431)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A73 #73642B
analogous
#2B5E73 #2B3A73 #402B73
triadic
#2B3A73 #732B3A #3A732B
tetradic
#2B3A73 #732B5E #73642B #2B7340
square
#2B3A73 #732B5E #73642B #2B7340
split-complementary
#2B3A73 #73402B #5E732B
monochromatic
#0A0D1A #1A2446 #2B3A73 #3C50A0 #586EC1

Accessibility & contrast

On white

10.74
#2B3A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B3A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A73
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A73#FFFFFF#000000##FFFFFF
##2B3A731.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#123B72
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b3a73;
/* rgb */ color: rgb(43, 58, 115);
/* oklch */ color: oklch(36.8% 0.099 269.9);
Tailwind
colors: {
  custom: {
    50: '#6c6f9c',
    500: '#2b3a73',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a73;
$custom-light: #6c6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a73",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 115
  },
  "hsl": {
    "h": 227.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.09938,
    "h": 269.9
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#2B3A73
secondary
#A59455
accent
#BA53D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B3A73

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

Preview Lab → · Contrast checker → · Palette generator →

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