#2B3C8F#2B3C8F

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

Color values

HEX#2B3C8F
RGBrgb(43, 60, 143)
HSLhsl(230, 54%, 36%)
HSVhsv(230, 70%, 56%)
CMYKcmyk(69.9%, 58%, 0%, 43.9%)
CIE-LABlab(28.72, 22.37, -48.07)
CIE-LCHlch(28.72, 53.02, 294.96°)
OKLaboklab(39.4% 0.0002 -0.1384)
OKLCHoklch(39.4% 0.138 270.1)
XYZxyz(7.5684, 5.7278, 26.6880)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C8F #8F7E2B
analogous
#2B6E8F #2B3C8F #4C2B8F
triadic
#2B3C8F #8F2B3C #3C8F2B
tetradic
#2B3C8F #8F2B6E #8F7E2B #2B8F4C
square
#2B3C8F #8F2B6E #8F7E2B #2B8F4C
split-complementary
#2B3C8F #8F4C2B #6E8F2B
monochromatic
#0F1531 #1D2860 #2B3C8F #3950BE #6476D0

Accessibility & contrast

On white

9.79
#2B3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B3C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C8F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C8F#FFFFFF#000000##FFFFFF
##2B3C8F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3c8f;
/* rgb */ color: rgb(43, 60, 143);
/* oklch */ color: oklch(39.4% 0.138 270.1);
Tailwind
colors: {
  custom: {
    50: '#7171b0',
    500: '#2b3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c8f;
$custom-light: #7171b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c8f",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 229.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.13841,
    "h": 270.1
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#2B3C8F
secondary
#B7A85F
accent
#C44BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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