#2B4D9F#2B4D9F

#2B4D9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.139 H 264.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2B4D9F
RGBrgb(43, 77, 159)
HSLhsl(222, 57%, 40%)
HSVhsv(222, 73%, 62%)
CMYKcmyk(73%, 51.6%, 0%, 37.6%)
CIE-LABlab(34.65, 16.99, -48.20)
CIE-LCHlch(34.65, 51.11, 289.42°)
OKLaboklab(44.26% -0.0135 -0.1385)
OKLCHoklch(44.26% 0.139 264.5)
XYZxyz(9.9059, 8.3235, 33.8787)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D9F #9F7D2B
analogous
#2B879F #2B4D9F #432B9F
triadic
#2B4D9F #9F2B4D #4D9F2B
tetradic
#2B4D9F #9F2B87 #9F7D2B #2B9F43
square
#2B4D9F #9F2B87 #9F7D2B #2B9F43
split-complementary
#2B4D9F #9F432B #879F2B
monochromatic
#111E3F #1E366F #2B4D9F #3D66CA #6D8CD7

Accessibility & contrast

On white

7.88
#2B4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2B4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D9F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D9F#FFFFFF#000000##FFFFFF
##2B4D9F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4d9f;
/* rgb */ color: rgb(43, 77, 159);
/* oklch */ color: oklch(44.3% 0.139 264.5);
Tailwind
colors: {
  custom: {
    50: '#747ebc',
    500: '#2b4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d9f;
$custom-light: #747ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d9f",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 222.414,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.13918,
    "h": 264.5
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#2B4D9F
secondary
#BEA567
accent
#B447E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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