#2B3F8A#2B3F8A

#2B3F8A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.127 H 268.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2B3F8A
RGBrgb(43, 63, 138)
HSLhsl(227, 52%, 35%)
HSVhsv(227, 69%, 54%)
CMYKcmyk(68.8%, 54.3%, 0%, 45.9%)
CIE-LABlab(29.17, 18.43, -44.25)
CIE-LCHlch(29.17, 47.94, 292.61°)
OKLaboklab(39.62% -0.0028 -0.1271)
OKLCHoklch(39.62% 0.127 268.7)
XYZxyz(7.3596, 5.9029, 24.7913)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F8A #8A762B
analogous
#2B6E8A #2B3F8A #462B8A
triadic
#2B3F8A #8A2B3F #3F8A2B
tetradic
#2B3F8A #8A2B6E #8A762B #2B8A46
square
#2B3F8A #8A2B6E #8A762B #2B8A46
split-complementary
#2B3F8A #8A462B #6E8A2B
monochromatic
#0E142D #1C2A5B #2B3F8A #3A54B9 #6178CE

Accessibility & contrast

On white

9.63
#2B3F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B3F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F8A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F8A#FFFFFF#000000##FFFFFF
##2B3F8A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3f8a;
/* rgb */ color: rgb(43, 63, 138);
/* oklch */ color: oklch(39.6% 0.127 268.7);
Tailwind
colors: {
  custom: {
    50: '#7073ad',
    500: '#2b3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f8a;
$custom-light: #7073ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f8a",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 227.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.12717,
    "h": 268.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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