#2B4FAF#2B4FAF

#2B4FAF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.159 H 265.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4FAF
RGBrgb(43, 79, 175)
HSLhsl(224, 61%, 43%)
HSVhsv(224, 75%, 69%)
CMYKcmyk(75.4%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.37, 21.78, -54.98)
CIE-LCHlch(36.37, 59.13, 291.61°)
OKLaboklab(45.93% -0.0135 -0.1584)
OKLCHoklch(45.93% 0.159 265.1)
XYZxyz(11.5274, 9.1994, 41.7173)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FAF #AF8B2B
analogous
#2B91AF #2B4FAF #492BAF
triadic
#2B4FAF #AF2B4F #4FAF2B
tetradic
#2B4FAF #AF2B91 #AF8B2B #2BAF49
square
#2B4FAF #AF2B91 #AF8B2B #2BAF49
split-complementary
#2B4FAF #AF492B #91AF2B
monochromatic
#13234D #1F397E #2B4FAF #466CD1 #7793DE

Accessibility & contrast

On white

7.39
#2B4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2B4FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FAF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FAF#FFFFFF#000000##FFFFFF
##2B4FAF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4faf;
/* rgb */ color: rgb(43, 79, 175);
/* oklch */ color: oklch(45.9% 0.159 265.1);
Tailwind
colors: {
  custom: {
    50: '#777fc8',
    500: '#2b4faf',
    950: '#000000',
  },
}
SCSS
$custom: #2b4faf;
$custom-light: #777fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4faf",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 223.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.159,
    "h": 265.1
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#2B4FAF
secondary
#C5AE70
accent
#B844E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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