#2B3A8B#2B3A8B

#2B3A8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.135 H 270.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2B3A8B
RGBrgb(43, 58, 139)
HSLhsl(231, 53%, 36%)
HSVhsv(231, 69%, 55%)
CMYKcmyk(69.1%, 58.3%, 0%, 45.5%)
CIE-LABlab(27.85, 22.22, -47.00)
CIE-LCHlch(27.85, 51.99, 295.31°)
OKLaboklab(38.66% 0.0019 -0.1353)
OKLCHoklch(38.66% 0.135 270.8)
XYZxyz(7.1679, 5.4031, 25.0862)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A8B #8B7C2B
analogous
#2B6A8B #2B3A8B #4C2B8B
triadic
#2B3A8B #8B2B3A #3A8B2B
tetradic
#2B3A8B #8B2B6A #8B7C2B #2B8B4C
square
#2B3A8B #8B2B6A #8B7C2B #2B8B4C
split-complementary
#2B3A8B #8B4C2B #6A8B2B
monochromatic
#0E132E #1D265C #2B3A8B #394EBA #6273CE

Accessibility & contrast

On white

10.09
#2B3A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B3A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A8B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A8B#FFFFFF#000000##FFFFFF
##2B3A8B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3a8b;
/* rgb */ color: rgb(43, 58, 139);
/* oklch */ color: oklch(38.7% 0.135 270.8);
Tailwind
colors: {
  custom: {
    50: '#716fae',
    500: '#2b3a8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a8b;
$custom-light: #716fae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a8b",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 230.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.1353,
    "h": 270.8
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#2B3A8B
secondary
#B5A75D
accent
#C64CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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