#2B347E#2B347E

#2B347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.124 H 273.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2B347E
RGBrgb(43, 52, 126)
HSLhsl(233, 49%, 33%)
HSVhsv(233, 66%, 49%)
CMYKcmyk(65.9%, 58.7%, 0%, 50.6%)
CIE-LABlab(25.18, 21.44, -43.21)
CIE-LCHlch(25.18, 48.24, 296.39°)
OKLaboklab(36.34% 0.0071 -0.1242)
OKLCHoklch(36.34% 0.124 273.3)
XYZxyz(5.9889, 4.4754, 20.2829)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B347E #7E752B
analogous
#2B5D7E #2B347E #4B2B7E
triadic
#2B347E #7E2B34 #347E2B
tetradic
#2B347E #7E2B5D #7E752B #2B7E4B
square
#2B347E #7E2B5D #7E752B #2B7E4B
split-complementary
#2B347E #7E4B2B #5D7E2B
monochromatic
#0C0E23 #1B2150 #2B347E #3B47AC #5C68C7

Accessibility & contrast

On white

11.08
#2B347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B347E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B347E#FFFFFF#000000##FFFFFF
##2B347E1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b347e;
/* rgb */ color: rgb(43, 52, 126);
/* oklch */ color: oklch(36.3% 0.124 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ba4',
    500: '#2b347e',
    950: '#000000',
  },
}
SCSS
$custom: #2b347e;
$custom-light: #6e6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b347e",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 233.494,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36342,
    "c": 0.12443,
    "h": 273.3
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#2B347E
secondary
#ADA458
accent
#CA4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B347E

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

Preview Lab → · Contrast checker → · Palette generator →

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