#2B3F8D#2B3F8D

#2B3F8D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.132 H 268.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2B3F8D
RGBrgb(43, 63, 141)
HSLhsl(228, 53%, 36%)
HSVhsv(228, 70%, 55%)
CMYKcmyk(69.5%, 55.3%, 0%, 44.7%)
CIE-LABlab(29.39, 19.57, -45.74)
CIE-LCHlch(29.39, 49.75, 293.16°)
OKLaboklab(39.86% -0.0026 -0.1315)
OKLCHoklch(39.86% 0.132 268.9)
XYZxyz(7.5798, 5.9910, 25.9511)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F8D #8D792B
analogous
#2B708D #2B3F8D #482B8D
triadic
#2B3F8D #8D2B3F #3F8D2B
tetradic
#2B3F8D #8D2B70 #8D792B #2B8D48
square
#2B3F8D #8D2B70 #8D792B #2B8D48
split-complementary
#2B3F8D #8D482B #708D2B
monochromatic
#0E152F #1D2A5E #2B3F8D #3954BC #6379CF

Accessibility & contrast

On white

9.55
#2B3F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B3F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F8D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F8D#FFFFFF#000000##FFFFFF
##2B3F8D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3f8d;
/* rgb */ color: rgb(43, 63, 141);
/* oklch */ color: oklch(39.9% 0.132 268.9);
Tailwind
colors: {
  custom: {
    50: '#7173af',
    500: '#2b3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f8d;
$custom-light: #7173af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f8d",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 227.755,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.13156,
    "h": 268.9
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#2B3F8D
secondary
#B6A45E
accent
#BF4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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