#2B349F#2B349F

#2B349F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.171 H 272.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2B349F
RGBrgb(43, 52, 159)
HSLhsl(235, 57%, 40%)
HSVhsv(235, 73%, 62%)
CMYKcmyk(73%, 67.3%, 0%, 37.6%)
CIE-LABlab(28.04, 33.60, -58.96)
CIE-LCHlch(28.04, 67.86, 299.68°)
OKLaboklab(39.33% 0.0059 -0.1704)
OKLCHoklch(39.33% 0.171 272)
XYZxyz(8.4801, 5.4719, 33.4034)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B349F #9F962B
analogous
#2B6E9F #2B349F #5C2B9F
triadic
#2B349F #9F2B34 #349F2B
tetradic
#2B349F #9F2B6E #9F962B #2B9F5C
square
#2B349F #9F2B6E #9F962B #2B9F5C
split-complementary
#2B349F #9F5C2B #6E9F2B
monochromatic
#11143F #1E246F #2B349F #3D48CA #6D75D7

Accessibility & contrast

On white

10.03
#2B349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B349F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B349F#FFFFFF#000000##FFFFFF
##2B349F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b349f;
/* rgb */ color: rgb(43, 52, 159);
/* oklch */ color: oklch(39.3% 0.171 272.0);
Tailwind
colors: {
  custom: {
    50: '#766cbc',
    500: '#2b349f',
    950: '#000000',
  },
}
SCSS
$custom: #2b349f;
$custom-light: #766cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b349f",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 235.345,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.17053,
    "h": 272
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#2B349F
secondary
#BEB867
accent
#D547E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B349F

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

Preview Lab → · Contrast checker → · Palette generator →

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