#2B456F#2B456F

#2B456F is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.079 H 259.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2B456F
RGBrgb(43, 69, 111)
HSLhsl(217, 44%, 30%)
HSVhsv(217, 61%, 44%)
CMYKcmyk(61.3%, 37.8%, 0%, 56.5%)
CIE-LABlab(29.20, 4.17, -27.30)
CIE-LCHlch(29.20, 27.62, 278.68°)
OKLaboklab(39.08% -0.0142 -0.0773)
OKLCHoklch(39.08% 0.079 259.6)
XYZxyz(5.9926, 5.9170, 15.8621)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B456F #6F552B
analogous
#2B676F #2B456F #332B6F
triadic
#2B456F #6F2B45 #456F2B
tetradic
#2B456F #6F2B67 #6F552B #2B6F33
square
#2B456F #6F2B67 #6F552B #2B6F33
split-complementary
#2B456F #6F332B #676F2B
monochromatic
#090E17 #1A2A43 #2B456F #3C609B #577EBE

Accessibility & contrast

On white

9.62
#2B456F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B456F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B456F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B456F#FFFFFF#000000##FFFFFF
##2B456F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344871
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b456f;
/* rgb */ color: rgb(43, 69, 111);
/* oklch */ color: oklch(39.1% 0.079 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b7898',
    500: '#2b456f',
    950: '#000000',
  },
}
SCSS
$custom: #2b456f;
$custom-light: #6b7898;
$custom-dark: #000000;
JSON
{
  "hex": "#2b456f",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 111
  },
  "hsl": {
    "h": 217.059,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39084,
    "c": 0.07858,
    "h": 259.6
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#2B456F
secondary
#A18455
accent
#A354D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2B456F

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

Preview Lab → · Contrast checker → · Palette generator →

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