#2B347D#2B347D

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

Color values

HEX#2B347D
RGBrgb(43, 52, 125)
HSLhsl(233, 49%, 33%)
HSVhsv(233, 66%, 49%)
CMYKcmyk(65.6%, 58.4%, 0%, 51%)
CIE-LABlab(25.11, 21.07, -42.71)
CIE-LCHlch(25.11, 47.63, 296.26°)
OKLaboklab(36.26% 0.0071 -0.1228)
OKLCHoklch(36.26% 0.123 273.3)
XYZxyz(5.9247, 4.4497, 19.9447)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B347D #7D742B
analogous
#2B5D7D #2B347D #4B2B7D
triadic
#2B347D #7D2B34 #347D2B
tetradic
#2B347D #7D2B5D #7D742B #2B7D4B
square
#2B347D #7D2B5D #7D742B #2B7D4B
split-complementary
#2B347D #7D4B2B #5D7D2B
monochromatic
#0C0E22 #1B214F #2B347D #3B47AB #5C67C7

Accessibility & contrast

On white

11.11
#2B347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B347D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B347D#FFFFFF#000000##FFFFFF
##2B347D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b347d;
/* rgb */ color: rgb(43, 52, 125);
/* oklch */ color: oklch(36.3% 0.123 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ba3',
    500: '#2b347d',
    950: '#000000',
  },
}
SCSS
$custom: #2b347d;
$custom-light: #6e6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b347d",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 233.415,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.12297,
    "h": 273.3
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#2B347D
secondary
#ADA357
accent
#C94FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B347D

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

Preview Lab → · Contrast checker → · Palette generator →

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