#2B347C#2B347C

#2B347C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.121 H 273.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2B347C
RGBrgb(43, 52, 124)
HSLhsl(233, 49%, 33%)
HSVhsv(233, 65%, 49%)
CMYKcmyk(65.3%, 58.1%, 0%, 51.4%)
CIE-LABlab(25.03, 20.70, -42.21)
CIE-LCHlch(25.03, 47.01, 296.12°)
OKLaboklab(36.18% 0.0071 -0.1213)
OKLCHoklch(36.18% 0.121 273.3)
XYZxyz(5.8611, 4.4243, 19.6100)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B347C #7C732B
analogous
#2B5D7C #2B347C #4A2B7C
triadic
#2B347C #7C2B34 #347C2B
tetradic
#2B347C #7C2B5D #7C732B #2B7C4A
square
#2B347C #7C2B5D #7C732B #2B7C4A
split-complementary
#2B347C #7C4A2B #5D7C2B
monochromatic
#0B0E21 #1B214F #2B347C #3B47A9 #5B67C6

Accessibility & contrast

On white

11.14
#2B347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B347C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B347C#FFFFFF#000000##FFFFFF
##2B347C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b347c;
/* rgb */ color: rgb(43, 52, 124);
/* oklch */ color: oklch(36.2% 0.121 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ba2',
    500: '#2b347c',
    950: '#000000',
  },
}
SCSS
$custom: #2b347c;
$custom-light: #6e6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b347c",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 233.333,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36175,
    "c": 0.12148,
    "h": 273.3
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#2B347C
secondary
#ACA357
accent
#C950D8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2B347C

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

Preview Lab → · Contrast checker → · Palette generator →

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