#2B458C#2B458C

#2B458C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.122 H 266.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2B458C
RGBrgb(43, 69, 140)
HSLhsl(224, 53%, 36%)
HSVhsv(224, 69%, 55%)
CMYKcmyk(69.3%, 50.7%, 0%, 45.1%)
CIE-LABlab(31.03, 15.11, -42.49)
CIE-LCHlch(31.03, 45.09, 289.57°)
OKLaboklab(41.08% -0.0084 -0.1218)
OKLCHoklch(41.08% 0.122 266)
XYZxyz(7.8564, 6.6625, 25.6778)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B458C #8C722B
analogous
#2B758C #2B458C #422B8C
triadic
#2B458C #8C2B45 #458C2B
tetradic
#2B458C #8C2B75 #8C722B #2B8C42
square
#2B458C #8C2B75 #8C722B #2B8C42
split-complementary
#2B458C #8C422B #758C2B
monochromatic
#0E172E #1D2E5D #2B458C #395CBB #6280CF

Accessibility & contrast

On white

9.00
#2B458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B458C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B458C#FFFFFF#000000##FFFFFF
##2B458C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E8F
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b458c;
/* rgb */ color: rgb(43, 69, 140);
/* oklch */ color: oklch(41.1% 0.122 266.0);
Tailwind
colors: {
  custom: {
    50: '#7078ae',
    500: '#2b458c',
    950: '#000000',
  },
}
SCSS
$custom: #2b458c;
$custom-light: #7078ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b458c",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 223.918,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41077,
    "c": 0.12213,
    "h": 266
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#2B458C
secondary
#B59E5E
accent
#B64BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B458C

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

Preview Lab → · Contrast checker → · Palette generator →

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