#2B4E9F#2B4E9F

#2B4E9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.138 H 264.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2B4E9F
RGBrgb(43, 78, 159)
HSLhsl(222, 57%, 40%)
HSVhsv(222, 73%, 62%)
CMYKcmyk(73%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.93, 16.32, -47.74)
CIE-LCHlch(34.93, 50.46, 288.87°)
OKLaboklab(44.48% -0.0143 -0.1372)
OKLCHoklch(44.48% 0.138 264)
XYZxyz(9.9764, 8.4645, 33.9022)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E9F #9F7C2B
analogous
#2B889F #2B4E9F #422B9F
triadic
#2B4E9F #9F2B4E #4E9F2B
tetradic
#2B4E9F #9F2B88 #9F7C2B #2B9F42
square
#2B4E9F #9F2B88 #9F7C2B #2B9F42
split-complementary
#2B4E9F #9F422B #889F2B
monochromatic
#111F3F #1E366F #2B4E9F #3D67CA #6D8DD7

Accessibility & contrast

On white

7.80
#2B4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E9F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E9F#FFFFFF#000000##FFFFFF
##2B4E9F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4e9f;
/* rgb */ color: rgb(43, 78, 159);
/* oklch */ color: oklch(44.5% 0.138 264.0);
Tailwind
colors: {
  custom: {
    50: '#747fbc',
    500: '#2b4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e9f;
$custom-light: #747fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e9f",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 221.897,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.13791,
    "h": 264
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#2B4E9F
secondary
#BEA467
accent
#B247E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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