#2B348F#2B348F

#2B348F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.149 H 272.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2B348F
RGBrgb(43, 52, 143)
HSLhsl(235, 54%, 36%)
HSVhsv(235, 70%, 56%)
CMYKcmyk(69.9%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.60, 27.76, -51.52)
CIE-LCHlch(26.60, 58.52, 298.32°)
OKLaboklab(37.83% 0.007 -0.1486)
OKLCHoklch(37.83% 0.149 272.7)
XYZxyz(7.1805, 4.9521, 26.5587)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B348F #8F862B
analogous
#2B668F #2B348F #542B8F
triadic
#2B348F #8F2B34 #348F2B
tetradic
#2B348F #8F2B66 #8F862B #2B8F54
square
#2B348F #8F2B66 #8F862B #2B8F54
split-complementary
#2B348F #8F542B #668F2B
monochromatic
#0F1231 #1D2360 #2B348F #3945BE #646ED0

Accessibility & contrast

On white

10.55
#2B348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B348F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B348F#FFFFFF#000000##FFFFFF
##2B348F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b348f;
/* rgb */ color: rgb(43, 52, 143);
/* oklch */ color: oklch(37.8% 0.149 272.7);
Tailwind
colors: {
  custom: {
    50: '#726bb1',
    500: '#2b348f',
    950: '#000000',
  },
}
SCSS
$custom: #2b348f;
$custom-light: #726bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b348f",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 234.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.14879,
    "h": 272.7
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#2B348F
secondary
#B7AF5F
accent
#D04BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B348F

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

Preview Lab → · Contrast checker → · Palette generator →

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