#2B349E#2B349E

#2B349E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.169 H 272.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B349E
RGBrgb(43, 52, 158)
HSLhsl(235, 57%, 39%)
HSVhsv(235, 73%, 62%)
CMYKcmyk(72.8%, 67.1%, 0%, 38%)
CIE-LABlab(27.95, 33.24, -58.50)
CIE-LCHlch(27.95, 67.29, 299.60°)
OKLaboklab(39.24% 0.006 -0.1691)
OKLCHoklch(39.24% 0.169 272)
XYZxyz(8.3937, 5.4374, 32.9483)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B349E #9E952B
analogous
#2B6E9E #2B349E #5B2B9E
triadic
#2B349E #9E2B34 #349E2B
tetradic
#2B349E #9E2B6E #9E952B #2B9E5B
square
#2B349E #9E2B6E #9E952B #2B9E5B
split-complementary
#2B349E #9E5B2B #6E9E2B
monochromatic
#11143E #1E246E #2B349E #3C47CA #6C75D7

Accessibility & contrast

On white

10.06
#2B349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B349E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B349E#FFFFFF#000000##FFFFFF
##2B349E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b349e;
/* rgb */ color: rgb(43, 52, 158);
/* oklch */ color: oklch(39.2% 0.169 272.0);
Tailwind
colors: {
  custom: {
    50: '#766bbc',
    500: '#2b349e',
    950: '#000000',
  },
}
SCSS
$custom: #2b349e;
$custom-light: #766bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b349e",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 235.304,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39235,
    "c": 0.1692,
    "h": 272
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#2B349E
secondary
#BEB767
accent
#D447E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B349E

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

Preview Lab → · Contrast checker → · Palette generator →

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