#2B348D#2B348D

#2B348D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.146 H 272.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2B348D
RGBrgb(43, 52, 141)
HSLhsl(234, 53%, 36%)
HSVhsv(234, 70%, 55%)
CMYKcmyk(69.5%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.42, 27.02, -50.56)
CIE-LCHlch(26.42, 57.33, 298.12°)
OKLaboklab(37.65% 0.007 -0.1458)
OKLCHoklch(37.65% 0.146 272.8)
XYZxyz(7.0304, 4.8920, 25.7679)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B348D #8D842B
analogous
#2B658D #2B348D #532B8D
triadic
#2B348D #8D2B34 #348D2B
tetradic
#2B348D #8D2B65 #8D842B #2B8D53
square
#2B348D #8D2B65 #8D842B #2B8D53
split-complementary
#2B348D #8D532B #658D2B
monochromatic
#0E112F #1D235E #2B348D #3945BC #636DCF

Accessibility & contrast

On white

10.61
#2B348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B348D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B348D#FFFFFF#000000##FFFFFF
##2B348D1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b348d;
/* rgb */ color: rgb(43, 52, 141);
/* oklch */ color: oklch(37.7% 0.146 272.8);
Tailwind
colors: {
  custom: {
    50: '#726baf',
    500: '#2b348d',
    950: '#000000',
  },
}
SCSS
$custom: #2b348d;
$custom-light: #726baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b348d",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 234.49,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.146,
    "h": 272.8
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#2B348D
secondary
#B6AE5E
accent
#CF4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B348D

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

Preview Lab → · Contrast checker → · Palette generator →

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