#2B347A#2B347A

#2B347A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.118 H 273.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2B347A
RGBrgb(43, 52, 122)
HSLhsl(233, 48%, 32%)
HSVhsv(233, 65%, 48%)
CMYKcmyk(64.8%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.87, 19.95, -41.20)
CIE-LCHlch(24.87, 45.77, 295.84°)
OKLaboklab(36.01% 0.007 -0.1183)
OKLCHoklch(36.01% 0.119 273.4)
XYZxyz(5.7359, 4.3742, 18.9506)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B347A #7A712B
analogous
#2B5B7A #2B347A #4A2B7A
triadic
#2B347A #7A2B34 #347A2B
tetradic
#2B347A #7A2B5B #7A712B #2B7A4A
square
#2B347A #7A2B5B #7A712B #2B7A4A
split-complementary
#2B347A #7A4A2B #5B7A2B
monochromatic
#0B0D1F #1B214D #2B347A #3B47A7 #5A67C5

Accessibility & contrast

On white

11.20
#2B347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B347A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B347A#FFFFFF#000000##FFFFFF
##2B347A1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b347a;
/* rgb */ color: rgb(43, 52, 122);
/* oklch */ color: oklch(36.0% 0.118 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d6ba1',
    500: '#2b347a',
    950: '#000000',
  },
}
SCSS
$custom: #2b347a;
$custom-light: #6d6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b347a",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 233.165,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3601,
    "c": 0.1185,
    "h": 273.4
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#2B347A
secondary
#ABA156
accent
#C850D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2B347A

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

Preview Lab → · Contrast checker → · Palette generator →

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