#2B3374#2B3374

#2B3374 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.111 H 274.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2B3374
RGBrgb(43, 51, 116)
HSLhsl(233, 46%, 31%)
HSVhsv(233, 63%, 45%)
CMYKcmyk(62.9%, 56%, 0%, 54.5%)
CIE-LABlab(24.13, 18.40, -38.58)
CIE-LCHlch(24.13, 42.74, 295.50°)
OKLaboklab(35.31% 0.0077 -0.1106)
OKLCHoklch(35.31% 0.111 274)
XYZxyz(5.3314, 4.1418, 17.0381)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3374 #746C2B
analogous
#2B5774 #2B3374 #472B74
triadic
#2B3374 #742B33 #33742B
tetradic
#2B3374 #742B57 #746C2B #2B7447
square
#2B3374 #742B57 #746C2B #2B7447
split-complementary
#2B3374 #74472B #57742B
monochromatic
#0A0C1B #1A1F47 #2B3374 #3C47A1 #5864C1

Accessibility & contrast

On white

11.49
#2B3374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B3374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3374
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3374#FFFFFF#000000##FFFFFF
##2B33741.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3374;
/* rgb */ color: rgb(43, 51, 116);
/* oklch */ color: oklch(35.3% 0.111 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c6a9c',
    500: '#2b3374',
    950: '#000000',
  },
}
SCSS
$custom: #2b3374;
$custom-light: #6c6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3374",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 233.425,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35312,
    "c": 0.11087,
    "h": 274
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#2B3374
secondary
#A69D55
accent
#C752D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3374

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

Preview Lab → · Contrast checker → · Palette generator →

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