#2B458F#2B458F

#2B458F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.127 H 266.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B458F
RGBrgb(43, 69, 143)
HSLhsl(224, 54%, 36%)
HSVhsv(224, 70%, 56%)
CMYKcmyk(69.9%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.24, 16.25, -43.99)
CIE-LCHlch(31.24, 46.90, 290.28°)
OKLaboklab(41.3% -0.008 -0.1263)
OKLCHoklch(41.3% 0.127 266.4)
XYZxyz(8.0806, 6.7522, 26.8587)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B458F #8F752B
analogous
#2B778F #2B458F #432B8F
triadic
#2B458F #8F2B45 #458F2B
tetradic
#2B458F #8F2B77 #8F752B #2B8F43
square
#2B458F #8F2B77 #8F752B #2B8F43
split-complementary
#2B458F #8F432B #778F2B
monochromatic
#0F1831 #1D2E60 #2B458F #395CBE #6480D0

Accessibility & contrast

On white

8.93
#2B458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B458F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B458F#FFFFFF#000000##FFFFFF
##2B458F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b458f;
/* rgb */ color: rgb(43, 69, 143);
/* oklch */ color: oklch(41.3% 0.127 266.4);
Tailwind
colors: {
  custom: {
    50: '#7178b0',
    500: '#2b458f',
    950: '#000000',
  },
}
SCSS
$custom: #2b458f;
$custom-light: #7178b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b458f",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 224.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.12653,
    "h": 266.4
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B458F

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

Preview Lab → · Contrast checker → · Palette generator →

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