#2B349D#2B349D

#2B349D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.168 H 272.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2B349D
RGBrgb(43, 52, 157)
HSLhsl(235, 57%, 39%)
HSVhsv(235, 73%, 62%)
CMYKcmyk(72.6%, 66.9%, 0%, 38.4%)
CIE-LABlab(27.85, 32.88, -58.05)
CIE-LCHlch(27.85, 66.71, 299.53°)
OKLaboklab(39.14% 0.0061 -0.1678)
OKLCHoklch(39.14% 0.168 272.1)
XYZxyz(8.3080, 5.4031, 32.4968)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B349D #9D942B
analogous
#2B6D9D #2B349D #5B2B9D
triadic
#2B349D #9D2B34 #349D2B
tetradic
#2B349D #9D2B6D #9D942B #2B9D5B
square
#2B349D #9D2B6D #9D942B #2B9D5B
split-complementary
#2B349D #9D5B2B #6D9D2B
monochromatic
#11143D #1E246D #2B349D #3C47CA #6C74D7

Accessibility & contrast

On white

10.09
#2B349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B349D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B349D#FFFFFF#000000##FFFFFF
##2B349D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b349d;
/* rgb */ color: rgb(43, 52, 157);
/* oklch */ color: oklch(39.1% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#756bbb',
    500: '#2b349d',
    950: '#000000',
  },
}
SCSS
$custom: #2b349d;
$custom-light: #756bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b349d",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 235.263,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39139,
    "c": 0.16787,
    "h": 272.1
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#2B349D
secondary
#BDB766
accent
#D448E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B349D

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

Preview Lab → · Contrast checker → · Palette generator →

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