#2B346B#2B346B

#2B346B is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.096 H 273.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2B346B
RGBrgb(43, 52, 107)
HSLhsl(232, 43%, 29%)
HSVhsv(232, 60%, 42%)
CMYKcmyk(59.8%, 51.4%, 0%, 58%)
CIE-LABlab(23.77, 14.37, -33.39)
CIE-LCHlch(23.77, 36.35, 293.28°)
OKLaboklab(34.83% 0.0057 -0.0953)
OKLCHoklch(34.83% 0.096 273.4)
XYZxyz(4.8772, 4.0308, 14.4281)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B346B #6B622B
analogous
#2B546B #2B346B #422B6B
triadic
#2B346B #6B2B34 #346B2B
tetradic
#2B346B #6B2B54 #6B622B #2B6B42
square
#2B346B #6B2B54 #6B622B #2B6B42
split-complementary
#2B346B #6B422B #546B2B
monochromatic
#090B16 #191F3F #2B346B #3D4997 #5664BB

Accessibility & contrast

On white

11.63
#2B346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B346B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B346B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B346B#FFFFFF#000000##FFFFFF
##2B346B1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6D
Deuteranopia (green-blind)
#0F366A
Tritanopia (blue-blind)
#05404A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b346b;
/* rgb */ color: rgb(43, 52, 107);
/* oklch */ color: oklch(34.8% 0.096 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a6b96',
    500: '#2b346b',
    950: '#000000',
  },
}
SCSS
$custom: #2b346b;
$custom-light: #6a6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#2b346b",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 231.563,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34831,
    "c": 0.0955,
    "h": 273.4
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#2B346B
secondary
#9D9355
accent
#C155D2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B346B

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

Preview Lab → · Contrast checker → · Palette generator →

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