#2B3F8B#2B3F8B

#2B3F8B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.129 H 268.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2B3F8B
RGBrgb(43, 63, 139)
HSLhsl(228, 53%, 36%)
HSVhsv(228, 69%, 55%)
CMYKcmyk(69.1%, 54.7%, 0%, 45.5%)
CIE-LABlab(29.24, 18.81, -44.75)
CIE-LCHlch(29.24, 48.54, 292.80°)
OKLaboklab(39.7% -0.0028 -0.1286)
OKLCHoklch(39.7% 0.129 268.8)
XYZxyz(7.4324, 5.9320, 25.1744)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F8B #8B772B
analogous
#2B6F8B #2B3F8B #472B8B
triadic
#2B3F8B #8B2B3F #3F8B2B
tetradic
#2B3F8B #8B2B6F #8B772B #2B8B47
square
#2B3F8B #8B2B6F #8B772B #2B8B47
split-complementary
#2B3F8B #8B472B #6F8B2B
monochromatic
#0E152E #1D2A5C #2B3F8B #3954BA #6279CE

Accessibility & contrast

On white

9.60
#2B3F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B3F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F8B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F8B#FFFFFF#000000##FFFFFF
##2B3F8B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3f8b;
/* rgb */ color: rgb(43, 63, 139);
/* oklch */ color: oklch(39.7% 0.129 268.8);
Tailwind
colors: {
  custom: {
    50: '#7073ad',
    500: '#2b3f8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f8b;
$custom-light: #7073ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f8b",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 227.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.12864,
    "h": 268.8
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#2B3F8B
secondary
#B5A25D
accent
#BE4CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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