#2B3C8E#2B3C8E

#2B3C8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.137 H 270.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2B3C8E
RGBrgb(43, 60, 142)
HSLhsl(230, 54%, 36%)
HSVhsv(230, 70%, 56%)
CMYKcmyk(69.7%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.64, 21.99, -47.58)
CIE-LCHlch(28.64, 52.42, 294.81°)
OKLaboklab(39.32% 0.0002 -0.137)
OKLCHoklch(39.32% 0.137 270.1)
XYZxyz(7.4929, 5.6976, 26.2908)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C8E #8E7D2B
analogous
#2B6E8E #2B3C8E #4C2B8E
triadic
#2B3C8E #8E2B3C #3C8E2B
tetradic
#2B3C8E #8E2B6E #8E7D2B #2B8E4C
square
#2B3C8E #8E2B6E #8E7D2B #2B8E4C
split-complementary
#2B3C8E #8E4C2B #6E8E2B
monochromatic
#0F1430 #1D285F #2B3C8E #3950BD #6376D0

Accessibility & contrast

On white

9.81
#2B3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B3C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C8E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C8E#FFFFFF#000000##FFFFFF
##2B3C8E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3c8e;
/* rgb */ color: rgb(43, 60, 142);
/* oklch */ color: oklch(39.3% 0.137 270.1);
Tailwind
colors: {
  custom: {
    50: '#7171b0',
    500: '#2b3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c8e;
$custom-light: #7171b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c8e",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 229.697,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.13697,
    "h": 270.1
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#2B3C8E
secondary
#B6A75F
accent
#C44BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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