#2B3A88#2B3A88

#2B3A88 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.131 H 270.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2B3A88
RGBrgb(43, 58, 136)
HSLhsl(230, 52%, 35%)
HSVhsv(230, 68%, 53%)
CMYKcmyk(68.4%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.62, 21.09, -45.52)
CIE-LCHlch(27.62, 50.17, 294.86°)
OKLaboklab(38.41% 0.0017 -0.1309)
OKLCHoklch(38.41% 0.131 270.8)
XYZxyz(6.9517, 5.3166, 23.9476)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A88 #88792B
analogous
#2B6888 #2B3A88 #4B2B88
triadic
#2B3A88 #882B3A #3A882B
tetradic
#2B3A88 #882B68 #88792B #2B884B
square
#2B3A88 #882B68 #88792B #2B884B
split-complementary
#2B3A88 #884B2B #68882B
monochromatic
#0E122B #1C265A #2B3A88 #3A4EB6 #6172CD

Accessibility & contrast

On white

10.18
#2B3A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B3A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A88
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A88#FFFFFF#000000##FFFFFF
##2B3A881.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3a88;
/* rgb */ color: rgb(43, 58, 136);
/* oklch */ color: oklch(38.4% 0.131 270.8);
Tailwind
colors: {
  custom: {
    50: '#706fab',
    500: '#2b3a88',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a88;
$custom-light: #706fab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a88",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 230.323,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38409,
    "c": 0.13095,
    "h": 270.8
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#2B3A88
secondary
#B3A55C
accent
#C44CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3A88

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

Preview Lab → · Contrast checker → · Palette generator →

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