#2B348C#2B348C

#2B348C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.145 H 272.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2B348C
RGBrgb(43, 52, 140)
HSLhsl(234, 53%, 36%)
HSVhsv(234, 69%, 55%)
CMYKcmyk(69.3%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.34, 26.65, -50.08)
CIE-LCHlch(26.34, 56.73, 298.02°)
OKLaboklab(37.56% 0.0071 -0.1444)
OKLCHoklch(37.56% 0.145 272.8)
XYZxyz(6.9563, 4.8624, 25.3778)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B348C #8C832B
analogous
#2B648C #2B348C #522B8C
triadic
#2B348C #8C2B34 #348C2B
tetradic
#2B348C #8C2B64 #8C832B #2B8C52
square
#2B348C #8C2B64 #8C832B #2B8C52
split-complementary
#2B348C #8C522B #648C2B
monochromatic
#0E112E #1D235D #2B348C #3945BB #626DCF

Accessibility & contrast

On white

10.65
#2B348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B348C
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B348C#FFFFFF#000000##FFFFFF
##2B348C1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b348c;
/* rgb */ color: rgb(43, 52, 140);
/* oklch */ color: oklch(37.6% 0.145 272.8);
Tailwind
colors: {
  custom: {
    50: '#716bae',
    500: '#2b348c',
    950: '#000000',
  },
}
SCSS
$custom: #2b348c;
$custom-light: #716bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b348c",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 234.433,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3756,
    "c": 0.14459,
    "h": 272.8
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#2B348C
secondary
#B5AD5E
accent
#CF4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B348C

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

Preview Lab → · Contrast checker → · Palette generator →

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