#2B4D7B#2B4D7B

#2B4D7B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.087 H 256.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2B4D7B
RGBrgb(43, 77, 123)
HSLhsl(215, 48%, 33%)
HSVhsv(215, 65%, 48%)
CMYKcmyk(65%, 37.4%, 0%, 51.8%)
CIE-LABlab(32.37, 3.30, -29.82)
CIE-LCHlch(32.37, 30.00, 276.31°)
OKLaboklab(41.77% -0.0204 -0.0846)
OKLCHoklch(41.77% 0.087 256.4)
XYZxyz(7.2240, 7.2507, 19.7539)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D7B #7B592B
analogous
#2B757B #2B4D7B #312B7B
triadic
#2B4D7B #7B2B4D #4D7B2B
tetradic
#2B4D7B #7B2B75 #7B592B #2B7B31
square
#2B4D7B #7B2B75 #7B592B #2B7B31
split-complementary
#2B4D7B #7B312B #757B2B
monochromatic
#0B1420 #1B314E #2B4D7B #3B69A8 #5B88C6

Accessibility & contrast

On white

8.57
#2B4D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B4D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D7B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D7B#FFFFFF#000000##FFFFFF
##2B4D7B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4d7b;
/* rgb */ color: rgb(43, 77, 123);
/* oklch */ color: oklch(41.8% 0.087 256.4);
Tailwind
colors: {
  custom: {
    50: '#6d7ea1',
    500: '#2b4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d7b;
$custom-light: #6d7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d7b",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 214.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.08698,
    "h": 256.4
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#2B4D7B
secondary
#AB8756
accent
#9E50D8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2B4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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