#2B3C8D#2B3C8D

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

Color values

HEX#2B3C8D
RGBrgb(43, 60, 141)
HSLhsl(230, 53%, 36%)
HSVhsv(230, 70%, 55%)
CMYKcmyk(69.5%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.56, 21.62, -47.09)
CIE-LCHlch(28.56, 51.82, 294.66°)
OKLaboklab(39.24% 0.0001 -0.1355)
OKLCHoklch(39.24% 0.136 270.1)
XYZxyz(7.4182, 5.6677, 25.8972)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C8D #8D7C2B
analogous
#2B6D8D #2B3C8D #4B2B8D
triadic
#2B3C8D #8D2B3C #3C8D2B
tetradic
#2B3C8D #8D2B6D #8D7C2B #2B8D4B
square
#2B3C8D #8D2B6D #8D7C2B #2B8D4B
split-complementary
#2B3C8D #8D4B2B #6D8D2B
monochromatic
#0E142F #1D285E #2B3C8D #3950BC #6376CF

Accessibility & contrast

On white

9.84
#2B3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C8D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C8D#FFFFFF#000000##FFFFFF
##2B3C8D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3c8d;
/* rgb */ color: rgb(43, 60, 141);
/* oklch */ color: oklch(39.2% 0.136 270.1);
Tailwind
colors: {
  custom: {
    50: '#7171af',
    500: '#2b3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c8d;
$custom-light: #7171af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c8d",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 229.592,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.13553,
    "h": 270.1
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#2B3C8D
secondary
#B6A65E
accent
#C34BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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