#2B3D8F#2B3D8F

#2B3D8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.137 H 269.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2B3D8F
RGBrgb(43, 61, 143)
HSLhsl(229, 54%, 36%)
HSVhsv(229, 70%, 56%)
CMYKcmyk(69.9%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.99, 21.69, -47.63)
CIE-LCHlch(28.99, 52.33, 294.49°)
OKLaboklab(39.61% -0.0007 -0.1371)
OKLCHoklch(39.61% 0.137 269.7)
XYZxyz(7.6212, 5.8335, 26.7056)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D8F #8F7D2B
analogous
#2B6F8F #2B3D8F #4B2B8F
triadic
#2B3D8F #8F2B3D #3D8F2B
tetradic
#2B3D8F #8F2B6F #8F7D2B #2B8F4B
square
#2B3D8F #8F2B6F #8F7D2B #2B8F4B
split-complementary
#2B3D8F #8F4B2B #6F8F2B
monochromatic
#0F1531 #1D2960 #2B3D8F #3951BE #6478D0

Accessibility & contrast

On white

9.69
#2B3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B3D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D8F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D8F#FFFFFF#000000##FFFFFF
##2B3D8F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3d8f;
/* rgb */ color: rgb(43, 61, 143);
/* oklch */ color: oklch(39.6% 0.137 269.7);
Tailwind
colors: {
  custom: {
    50: '#7172b0',
    500: '#2b3d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d8f;
$custom-light: #7172b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d8f",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 229.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.13709,
    "h": 269.7
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#2B3D8F
secondary
#B7A75F
accent
#C34BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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