#2B3C8A#2B3C8A

#2B3C8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.131 H 270.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2B3C8A
RGBrgb(43, 60, 138)
HSLhsl(229, 52%, 35%)
HSVhsv(229, 69%, 54%)
CMYKcmyk(68.8%, 56.5%, 0%, 45.9%)
CIE-LABlab(28.33, 20.48, -45.61)
CIE-LCHlch(28.33, 50.00, 294.18°)
OKLaboklab(38.99% 0 -0.1312)
OKLCHoklch(38.99% 0.131 270)
XYZxyz(7.1980, 5.5796, 24.7375)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C8A #8A792B
analogous
#2B6B8A #2B3C8A #492B8A
triadic
#2B3C8A #8A2B3C #3C8A2B
tetradic
#2B3C8A #8A2B6B #8A792B #2B8A49
square
#2B3C8A #8A2B6B #8A792B #2B8A49
split-complementary
#2B3C8A #8A492B #6B8A2B
monochromatic
#0E132D #1C285B #2B3C8A #3A50B9 #6175CE

Accessibility & contrast

On white

9.92
#2B3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C8A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C8A#FFFFFF#000000##FFFFFF
##2B3C8A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3c8a;
/* rgb */ color: rgb(43, 60, 138);
/* oklch */ color: oklch(39.0% 0.131 270.0);
Tailwind
colors: {
  custom: {
    50: '#7071ad',
    500: '#2b3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c8a;
$custom-light: #7071ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c8a",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 229.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38989,
    "c": 0.13119,
    "h": 270
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#2B3C8A
secondary
#B4A45D
accent
#C24CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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