#2B3074#2B3074

#2B3074 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.115 H 275.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2B3074
RGBrgb(43, 48, 116)
HSLhsl(236, 46%, 31%)
HSVhsv(236, 63%, 45%)
CMYKcmyk(62.9%, 58.6%, 0%, 54.5%)
CIE-LABlab(23.30, 20.48, -39.93)
CIE-LCHlch(23.30, 44.88, 297.15°)
OKLaboklab(34.69% 0.011 -0.1146)
OKLCHoklch(34.69% 0.115 275.5)
XYZxyz(5.2046, 3.8880, 16.9958)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3074 #746F2B
analogous
#2B5474 #2B3074 #4A2B74
triadic
#2B3074 #742B30 #30742B
tetradic
#2B3074 #742B54 #746F2B #2B744A
square
#2B3074 #742B54 #746F2B #2B744A
split-complementary
#2B3074 #744A2B #54742B
monochromatic
#0A0B1B #1A1E47 #2B3074 #3C42A1 #585FC1

Accessibility & contrast

On white

11.81
#2B3074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B3074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3074
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3074#FFFFFF#000000##FFFFFF
##2B30741.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3074;
/* rgb */ color: rgb(43, 48, 116);
/* oklch */ color: oklch(34.7% 0.115 275.5);
Tailwind
colors: {
  custom: {
    50: '#6c689d',
    500: '#2b3074',
    950: '#000000',
  },
}
SCSS
$custom: #2b3074;
$custom-light: #6c689d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3074",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 235.89,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34686,
    "c": 0.11514,
    "h": 275.5
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#2B3074
secondary
#A6A055
accent
#CD52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3074

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

Preview Lab → · Contrast checker → · Palette generator →

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