#2B458E#2B458E

#2B458E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.125 H 266.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2B458E
RGBrgb(43, 69, 142)
HSLhsl(224, 54%, 36%)
HSVhsv(224, 70%, 56%)
CMYKcmyk(69.7%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.17, 15.87, -43.49)
CIE-LCHlch(31.17, 46.30, 290.05°)
OKLaboklab(41.23% -0.0082 -0.1248)
OKLCHoklch(41.23% 0.125 266.3)
XYZxyz(8.0052, 6.7220, 26.4615)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B458E #8E742B
analogous
#2B778E #2B458E #422B8E
triadic
#2B458E #8E2B45 #458E2B
tetradic
#2B458E #8E2B77 #8E742B #2B8E42
square
#2B458E #8E2B77 #8E742B #2B8E42
split-complementary
#2B458E #8E422B #778E2B
monochromatic
#0F1730 #1D2E5F #2B458E #395CBD #6380D0

Accessibility & contrast

On white

8.96
#2B458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B458E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B458E#FFFFFF#000000##FFFFFF
##2B458E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b458e;
/* rgb */ color: rgb(43, 69, 142);
/* oklch */ color: oklch(41.2% 0.125 266.3);
Tailwind
colors: {
  custom: {
    50: '#7178b0',
    500: '#2b458e',
    950: '#000000',
  },
}
SCSS
$custom: #2b458e;
$custom-light: #7178b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b458e",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 224.242,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.12507,
    "h": 266.3
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#2B458E
secondary
#B69F5F
accent
#B74BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B458E

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

Preview Lab → · Contrast checker → · Palette generator →

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