#2B4E7B#2B4E7B

#2B4E7B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.086 H 255.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4E7B
RGBrgb(43, 78, 123)
HSLhsl(214, 48%, 33%)
HSVhsv(214, 65%, 48%)
CMYKcmyk(65%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.68, 2.64, -29.33)
CIE-LCHlch(32.68, 29.45, 275.15°)
OKLaboklab(42.01% -0.0215 -0.0831)
OKLCHoklch(42.01% 0.086 255.5)
XYZxyz(7.2945, 7.3917, 19.7774)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E7B #7B582B
analogous
#2B767B #2B4E7B #302B7B
triadic
#2B4E7B #7B2B4E #4E7B2B
tetradic
#2B4E7B #7B2B76 #7B582B #2B7B30
square
#2B4E7B #7B2B76 #7B582B #2B7B30
split-complementary
#2B4E7B #7B302B #767B2B
monochromatic
#0B1420 #1B314E #2B4E7B #3B6BA8 #5B8AC6

Accessibility & contrast

On white

8.47
#2B4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E7B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E7B#FFFFFF#000000##FFFFFF
##2B4E7B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4e7b;
/* rgb */ color: rgb(43, 78, 123);
/* oklch */ color: oklch(42.0% 0.086 255.5);
Tailwind
colors: {
  custom: {
    50: '#6d7fa1',
    500: '#2b4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e7b;
$custom-light: #6d7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e7b",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 213.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.08586,
    "h": 255.5
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#2B4E7B
secondary
#AB8656
accent
#9C50D8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2B4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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