#2B348B#2B348B

#2B348B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.143 H 272.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2B348B
RGBrgb(43, 52, 139)
HSLhsl(234, 53%, 36%)
HSVhsv(234, 69%, 55%)
CMYKcmyk(69.1%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.25, 26.28, -49.60)
CIE-LCHlch(26.25, 56.13, 297.92°)
OKLaboklab(37.47% 0.0071 -0.143)
OKLCHoklch(37.47% 0.143 272.8)
XYZxyz(6.8829, 4.8330, 24.9912)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B348B #8B822B
analogous
#2B648B #2B348B #522B8B
triadic
#2B348B #8B2B34 #348B2B
tetradic
#2B348B #8B2B64 #8B822B #2B8B52
square
#2B348B #8B2B64 #8B822B #2B8B52
split-complementary
#2B348B #8B522B #648B2B
monochromatic
#0E112E #1D235C #2B348B #3945BA #626CCE

Accessibility & contrast

On white

10.68
#2B348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B348B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B348B#FFFFFF#000000##FFFFFF
##2B348B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b348b;
/* rgb */ color: rgb(43, 52, 139);
/* oklch */ color: oklch(37.5% 0.143 272.8);
Tailwind
colors: {
  custom: {
    50: '#716bae',
    500: '#2b348b',
    950: '#000000',
  },
}
SCSS
$custom: #2b348b;
$custom-light: #716bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b348b",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 234.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.14319,
    "h": 272.8
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#2B348B
secondary
#B5AC5D
accent
#CF4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B348B

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

Preview Lab → · Contrast checker → · Palette generator →

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