#2B348E#2B348E

#2B348E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.147 H 272.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2B348E
RGBrgb(43, 52, 142)
HSLhsl(235, 54%, 36%)
HSVhsv(235, 70%, 56%)
CMYKcmyk(69.7%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.51, 27.39, -51.04)
CIE-LCHlch(26.51, 57.93, 298.22°)
OKLaboklab(37.74% 0.007 -0.1472)
OKLCHoklch(37.74% 0.147 272.7)
XYZxyz(7.1051, 4.9219, 26.1615)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B348E #8E852B
analogous
#2B668E #2B348E #542B8E
triadic
#2B348E #8E2B34 #348E2B
tetradic
#2B348E #8E2B66 #8E852B #2B8E54
square
#2B348E #8E2B66 #8E852B #2B8E54
split-complementary
#2B348E #8E542B #668E2B
monochromatic
#0F1230 #1D235F #2B348E #3945BD #636DD0

Accessibility & contrast

On white

10.58
#2B348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B348E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B348E#FFFFFF#000000##FFFFFF
##2B348E1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b348e;
/* rgb */ color: rgb(43, 52, 142);
/* oklch */ color: oklch(37.7% 0.147 272.7);
Tailwind
colors: {
  custom: {
    50: '#726bb0',
    500: '#2b348e',
    950: '#000000',
  },
}
SCSS
$custom: #2b348e;
$custom-light: #726bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b348e",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 234.545,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.1474,
    "h": 272.7
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#2B348E
secondary
#B6AE5F
accent
#D04BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B348E

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

Preview Lab → · Contrast checker → · Palette generator →

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