#2B3C8B#2B3C8B

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

Color values

HEX#2B3C8B
RGBrgb(43, 60, 139)
HSLhsl(229, 53%, 36%)
HSVhsv(229, 69%, 55%)
CMYKcmyk(69.1%, 56.8%, 0%, 45.5%)
CIE-LABlab(28.40, 20.86, -46.11)
CIE-LCHlch(28.40, 50.61, 294.34°)
OKLaboklab(39.07% 0 -0.1326)
OKLCHoklch(39.07% 0.133 270)
XYZxyz(7.2707, 5.6087, 25.1205)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C8B #8B7A2B
analogous
#2B6C8B #2B3C8B #4A2B8B
triadic
#2B3C8B #8B2B3C #3C8B2B
tetradic
#2B3C8B #8B2B6C #8B7A2B #2B8B4A
square
#2B3C8B #8B2B6C #8B7A2B #2B8B4A
split-complementary
#2B3C8B #8B4A2B #6C8B2B
monochromatic
#0E142E #1D285C #2B3C8B #3950BA #6275CE

Accessibility & contrast

On white

9.90
#2B3C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3C8B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C8B#FFFFFF#000000##FFFFFF
##2B3C8B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3c8b;
/* rgb */ color: rgb(43, 60, 139);
/* oklch */ color: oklch(39.1% 0.133 270.0);
Tailwind
colors: {
  custom: {
    50: '#7171ad',
    500: '#2b3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c8b;
$custom-light: #7171ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c8b",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 229.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39071,
    "c": 0.13264,
    "h": 270
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#2B3C8B
secondary
#B5A55D
accent
#C34CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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