#2B3F88#2B3F88

#2B3F88 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.124 H 268.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2B3F88
RGBrgb(43, 63, 136)
HSLhsl(227, 52%, 35%)
HSVhsv(227, 68%, 53%)
CMYKcmyk(68.4%, 53.7%, 0%, 46.7%)
CIE-LABlab(29.02, 17.67, -43.25)
CIE-LCHlch(29.02, 46.72, 292.22°)
OKLaboklab(39.46% -0.003 -0.1242)
OKLCHoklch(39.46% 0.124 268.6)
XYZxyz(7.2162, 5.8455, 24.0358)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F88 #88742B
analogous
#2B6D88 #2B3F88 #462B88
triadic
#2B3F88 #882B3F #3F882B
tetradic
#2B3F88 #882B6D #88742B #2B8846
square
#2B3F88 #882B6D #88742B #2B8846
split-complementary
#2B3F88 #88462B #6D882B
monochromatic
#0E142B #1C295A #2B3F88 #3A55B6 #6178CD

Accessibility & contrast

On white

9.68
#2B3F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B3F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F88
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F88#FFFFFF#000000##FFFFFF
##2B3F881.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3f88;
/* rgb */ color: rgb(43, 63, 136);
/* oklch */ color: oklch(39.5% 0.124 268.6);
Tailwind
colors: {
  custom: {
    50: '#7073ab',
    500: '#2b3f88',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f88;
$custom-light: #7073ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f88",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 227.097,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.12424,
    "h": 268.6
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#2B3F88
secondary
#B3A05C
accent
#BD4CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3F88

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

Preview Lab → · Contrast checker → · Palette generator →

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