#2B4064#2B4064

#2B4064 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.068 H 260.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2B4064
RGBrgb(43, 64, 100)
HSLhsl(218, 40%, 28%)
HSVhsv(218, 57%, 39%)
CMYKcmyk(57%, 36%, 0%, 60.8%)
CIE-LABlab(27.02, 3.52, -23.72)
CIE-LCHlch(27.02, 23.98, 278.45°)
OKLaboklab(37.19% -0.011 -0.0669)
OKLCHoklch(37.19% 0.068 260.7)
XYZxyz(5.1291, 5.1001, 12.7683)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4064 #644F2B
analogous
#2B5C64 #2B4064 #322B64
triadic
#2B4064 #642B40 #40642B
tetradic
#2B4064 #642B5C #644F2B #2B6432
square
#2B4064 #642B5C #644F2B #2B6432
split-complementary
#2B4064 #64322B #5C642B
monochromatic
#090E15 #192539 #2B4064 #3D5B8F #5478B5

Accessibility & contrast

On white

10.40
#2B4064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B4064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4064
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4064#FFFFFF#000000##FFFFFF
##2B40641.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324366
Deuteranopia (green-blind)
#2B3D63
Tritanopia (blue-blind)
#0C484D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4064;
/* rgb */ color: rgb(43, 64, 100);
/* oklch */ color: oklch(37.2% 0.068 260.7);
Tailwind
colors: {
  custom: {
    50: '#697490',
    500: '#2b4064',
    950: '#000000',
  },
}
SCSS
$custom: #2b4064;
$custom-light: #697490;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4064",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 100
  },
  "hsl": {
    "h": 217.895,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37186,
    "c": 0.0678,
    "h": 260.7
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#2B4064
secondary
#967E55
accent
#A458D0
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2B4064

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

Preview Lab → · Contrast checker → · Palette generator →

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