#2B348A#2B348A

#2B348A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.142 H 272.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2B348A
RGBrgb(43, 52, 138)
HSLhsl(234, 52%, 35%)
HSVhsv(234, 69%, 54%)
CMYKcmyk(68.8%, 62.3%, 0%, 45.9%)
CIE-LABlab(26.17, 25.91, -49.12)
CIE-LCHlch(26.17, 55.54, 297.81°)
OKLaboklab(37.38% 0.0071 -0.1416)
OKLCHoklch(37.38% 0.142 272.9)
XYZxyz(6.8102, 4.8039, 24.6082)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B348A #8A812B
analogous
#2B638A #2B348A #512B8A
triadic
#2B348A #8A2B34 #348A2B
tetradic
#2B348A #8A2B63 #8A812B #2B8A51
square
#2B348A #8A2B63 #8A812B #2B8A51
split-complementary
#2B348A #8A512B #638A2B
monochromatic
#0E112D #1C225B #2B348A #3A46B9 #616CCE

Accessibility & contrast

On white

10.71
#2B348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B348A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B348A#FFFFFF#000000##FFFFFF
##2B348A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b348a;
/* rgb */ color: rgb(43, 52, 138);
/* oklch */ color: oklch(37.4% 0.142 272.9);
Tailwind
colors: {
  custom: {
    50: '#716bad',
    500: '#2b348a',
    950: '#000000',
  },
}
SCSS
$custom: #2b348a;
$custom-light: #716bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b348a",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 234.316,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37382,
    "c": 0.14177,
    "h": 272.9
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#2B348A
secondary
#B4AC5D
accent
#CE4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B348A

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

Preview Lab → · Contrast checker → · Palette generator →

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