#2B347B#2B347B

#2B347B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.120 H 273.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2B347B
RGBrgb(43, 52, 123)
HSLhsl(233, 48%, 33%)
HSVhsv(233, 65%, 48%)
CMYKcmyk(65%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.95, 20.32, -41.70)
CIE-LCHlch(24.95, 46.39, 295.98°)
OKLaboklab(36.09% 0.007 -0.1198)
OKLCHoklch(36.09% 0.12 273.4)
XYZxyz(5.7982, 4.3992, 19.2786)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B347B #7B722B
analogous
#2B5C7B #2B347B #4A2B7B
triadic
#2B347B #7B2B34 #347B2B
tetradic
#2B347B #7B2B5C #7B722B #2B7B4A
square
#2B347B #7B2B5C #7B722B #2B7B4A
split-complementary
#2B347B #7B4A2B #5C7B2B
monochromatic
#0B0E20 #1B214E #2B347B #3B47A8 #5B67C6

Accessibility & contrast

On white

11.17
#2B347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B347B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B347B#FFFFFF#000000##FFFFFF
##2B347B1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b347b;
/* rgb */ color: rgb(43, 52, 123);
/* oklch */ color: oklch(36.1% 0.120 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e6ba2',
    500: '#2b347b',
    950: '#000000',
  },
}
SCSS
$custom: #2b347b;
$custom-light: #6e6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b347b",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 233.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.12,
    "h": 273.4
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#2B347B
secondary
#ABA256
accent
#C950D8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2B347B

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

Preview Lab → · Contrast checker → · Palette generator →

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