#2B3E9C#2B3E9C

#2B3E9C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.154 H 269.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2B3E9C
RGBrgb(43, 62, 156)
HSLhsl(230, 57%, 39%)
HSVhsv(230, 72%, 61%)
CMYKcmyk(72.4%, 60.3%, 0%, 38.8%)
CIE-LABlab(30.30, 25.92, -53.44)
CIE-LCHlch(30.30, 59.40, 295.88°)
OKLaboklab(40.91% -0.0012 -0.1542)
OKLCHoklch(40.91% 0.154 269.6)
XYZxyz(8.7176, 6.3583, 32.2139)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E9C #9C892B
analogous
#2B779C #2B3E9C #512B9C
triadic
#2B3E9C #9C2B3E #3E9C2B
tetradic
#2B3E9C #9C2B77 #9C892B #2B9C51
square
#2B3E9C #9C2B77 #9C892B #2B9C51
split-complementary
#2B3E9C #9C512B #779C2B
monochromatic
#11183C #1E2B6C #2B3E9C #3B53C9 #6B7DD6

Accessibility & contrast

On white

9.24
#2B3E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B3E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E9C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E9C#FFFFFF#000000##FFFFFF
##2B3E9C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3e9c;
/* rgb */ color: rgb(43, 62, 156);
/* oklch */ color: oklch(40.9% 0.154 269.6);
Tailwind
colors: {
  custom: {
    50: '#7473ba',
    500: '#2b3e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e9c;
$custom-light: #7473ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e9c",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 156
  },
  "hsl": {
    "h": 229.912,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40913,
    "c": 0.15417,
    "h": 269.6
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#2B3E9C
secondary
#BDAE66
accent
#C648E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B3E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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